You can use shell commands in back-quoted here doc, as inmy $string = join " -x exclude=$_" ,q(),@excludes;
print <<`EOF`; ls cd / ls EOF
Update: join used instead of for. Why do I always correct just a half of the problem? :)
In reply to Re: hereto doc
by choroba
in thread hereto doc
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |