Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: else statement

by robot_tourist (Hermit)
on Aug 17, 2007 at 15:34 UTC ( #633328=note: print w/replies, xml ) Need Help??


in reply to else statement

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.
Robot Tourist, by Ten Benson

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://633328]
help
Chatterbox?
[Eily]: well, it allows you to concatenate strings to make a path without knowing if the final \ is already there or not
[Discipulus]: also cd c:/ulisse\\\\\ strawberry \\..\\\\\\ strawberry & pwd runs fine

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2017-05-24 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?