Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: 78/80 chars perl line still a meaningful rule (,)

by tye (Cardinal)
on Oct 17, 2012 at 13:37 UTC ( #999544=note: print w/ replies, xml ) Need Help??


in reply to Re^2: 78/80 chars perl line still a meaningful rule
in thread 78/80 chars perl line still a meaningful rule

For 'confess', it is trivial:

% perl -MCarp=confess -e"confess 'this ', 'is split'" this is split at -e line 1

If it isn't something that can deal with a list of strings, then I use join the vast majority of the time (because '.' has lousy precedence for such, 'sprintf' quickly leads to action-at-a-distance, '<<' can't be sanely indented, etc.).

- tye        


Comment on Re^3: 78/80 chars perl line still a meaningful rule (,)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-12-17 22:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (40 votes), past polls