Dear List, I wanted to interpolate a function reference in a here doc. The following works fine:
my $hello = sub { return "hello world!"; }; printf "hello $s\n", &$hello(); But when I use a heredoc instead, it doesn't work: print <<END; hello &$hello() END At least it does not properly dereference this function reference. What do I do wrong? Thanks for your advice. Gabriel -- http://www.gabriel-striewe.de -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/