Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Indented HEREDOC?

by YuckFoo (Abbot)
on May 26, 2006 at 22:43 UTC ( #551945=note: print w/ replies, xml ) Need Help??


in reply to Indented HEREDOC?

Withigo

I use the quote operators in place of heredocs whenever possible (perlop), because it looks better. This adds a leading newline and trailing whitespace to the string, but when that's not important, I like it.

QqFoo

if ($foo) { print qq { foo is $foo. }; }


Comment on Re: Indented HEREDOC?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-10-01 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (40 votes), past polls