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

**************************************
$a='$b is cool';

... bunch of stuff here...

$b = "perl";

print $a, "\n";'

    print eval qq("$a"), "\n";

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

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


Reply via email to