[Boulder.pm] Trickey (for a newbie) String Replacement
Peter Hutnick
pm at hutnick.com
Thu May 6 11:54:11 CDT 2004
Luke Palmer wrote:
> eval $rule;
Well, I've read up on eval a bit, but I remain unclear on how it is
expanded. I'd like to do something like
foreach $rule (@rules) {
$text =~ (eval $rule)
}
But the eval doesn't expand the way I'd like. I've blindly tried
various quotes and brackets with no luck. Is it just impossible to have
an eval as a part of a statement?
-Peter
More information about the Boulder-pm
mailing list