Inside a here doc, how can I force an expression to be evaluated
such as localtime:

print <<"END";

`localtime time`
Foo
Bar 

END


I know I can simply create the var before,
my $var = localtime time;

But just curious how to evaluate expressions inside this...

Thanks!
jlc

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to