How can I interpolate the result of a function in a Perl here doc?

Posted by Zerobu on Stack Overflow See other posts from Stack Overflow or by Zerobu
Published on 2010-03-11T02:50:43Z Indexed on 2010/03/28 18:53 UTC
Read the original article Hit count: 204

Filed under:

I was wondering if it was possible to call a function inside a perl here doc

sub Function
{
}

print<<HERE;

  Function()

HERE

© Stack Overflow or respective owner

Related posts about perl