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..)