Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: The plural of "athlete's foot" is... (on heredocs)

by Aristotle (Chancellor)
on May 03, 2003 at 01:49 UTC ( [id://255225]=note: print w/replies, xml ) Need Help??


in reply to Re: The plural of "athlete's foot" is...
in thread The plural of "athlete's foot" is...

Yes it is. You can use here documents anywhere a string is legal, in fact, you can even chain them:
print $cond ? << 'HERE' : << 'DOC'; foo bar HERE baz quux DOC
Although that gets unreadable real quick like.

Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://255225]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-25 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found