Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: here-document without interpolation

by thelenm (Vicar)
on Jan 15, 2004 at 23:38 UTC ( #321708=note: print w/replies, xml ) Need Help??


in reply to here-document without interpolation (<<DELIMITER;)

Yes, you found the correct way to do what you were trying to do. The documentation in perlop may not be particularly clear, but the "*" next to "yes" in the "Interpolates" column is explained as "unless the delimiter is ''". So you can use single quotes to prevent interpolation with qx, m//, qr, s///, and here-docs.

-- Mike

--
XML::Simpler does not require XML::Parser or a SAX parser. It does require File::Slurp.
-- grantm, perldoc XML::Simpler

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://321708]
help
Chatterbox?
[Discipulus]: do you know the google like translation: a rich.. as a camel through the needle hole?
[choroba]: yes, I've read about it and its probable original form
[Discipulus]: Tomas in greek ~140Ad
[Discipulus]: also the 'today bred' was probably 'tomorrow's bred'
[LanX]: Novum Testamentum Graece

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2017-11-23 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (338 votes). Check out past polls.

    Notices?