Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by Aristotle (Chancellor)
on May 03, 2003 at 01:49 UTC ( #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
Node Status?
node history
Node Type: note [id://255225]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2016-06-25 13:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (325 votes). Check out past polls.