>> Is there any way to change the last statement to do what I want, which in
>> this case is print "perl is cool"?

[stuff cut out]

>     (my $new_message = $message) =~ s/\$(\w+)/$includes{$1}/g;

[stuff cut out]

Um, I guess...  I was more curious if there wasn't something like:

  print "\S$b\E is cool\n";

That would force it to re-evaluate the string at runtime...  You know, sort
of the opposite of what \Q and \E do?

That's a good-enough way to do it, I suppose.

- B




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to