The Advantages of the here string is we can write a set of instruction or a function with in this here string. then we can give this to eval.
here-doc/here-string allows us to print multi-line
without worrying about the quotes and escaping that come with the standard method of the defining string.
In reply to Re: Assigning Perl code snippet to a variable
by ungalnanban
in thread Assigning Perl code snippet to a variable
by perlpal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |