Jun 14, 2001, 3:19 AM
Post #5 of 5
Your script should work, the only point i can think of it breaking is that you may not have a new line at the end. Like this (remove line numbers):
2¦this herescript works
This is because perl search for "THIS\n" (or probably something like that, if you see my poview).
1¦ print <<THIS;
2¦ this one doesnt
btw, did you know you can have two or more herescripts on a line, like this:
I hope this helps,
print <<THIS,"Another part\n",<<THAT;
print "Herescripts work great!";
"If ye long for truth and the honest sea, the Perl Navy longs for ye."