|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: else statementby robot_tourist (Hermit) |
| on Aug 17, 2007 at 15:34 UTC ( #633328=note: print w/ replies, xml ) | Need Help?? |
|
From your supplied code fragment, I think the unexpected end of file is because there is no EOL to tell the program to stop printing before it reaches the end of the file. Here-docs are discussed way down (search for <<EOF) in the perlop perldoc page here. How can you feel when you're made of steel? I am made of steel. I am the Robot Tourist.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||