Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: The most annoying common way to get a string literal in Perl is...

by rinceWind (Monsignor)
on Jun 21, 2004 at 11:00 UTC ( [id://368411]=note: print w/replies, xml ) Need Help??


in reply to The most annoying common way to get a string literal in Perl is...

Mixed singles, Mixed doubles...

Oh, it's the time of year again for Wimbledon :).

On a serious note, what gets me are long string literals that wrap 80 columns, and string literals that contain newlines rather than "\n". The long strings should be broken down using concatenation with '.', and multi line strings should use here docs or "\n".

--
I'm Not Just Another Perl Hacker

Replies are listed 'Best First'.
Re^2: The most annoying common way to get a string literal in Perl is...
by BUU (Prior) on Jun 25, 2004 at 12:02 UTC
    Eh, Why? Whats wrong with:
    my $var = " stuff stuff more stuff yet more stuff? amazing stuf";
    ?

    ( Granted I probably just prefer that because my brain dead editor can't highlight here-docs..)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-03-29 07:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found