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

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?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2016-10-28 19:04 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (386 votes). Check out past polls.