Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 ( #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

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

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
Node Status?
node history
Node Type: note [id://368411]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2019-11-23 01:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (113 votes). Check out past polls.

    Notices?