Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: 78/80 chars perl line still a meaningful rule

by tobyink (Abbot)
on Oct 16, 2012 at 21:00 UTC ( #999424=note: print w/ replies, xml ) Need Help??


in reply to 78/80 chars perl line still a meaningful rule

Generally speaking I treat 76 characters as a "soft limit". I try to keep lines under that, and wrap them if they're going to be longer. However, sometimes the wrapped version would be less legible than the original, so I'll tolerate lines of 80, 90 or even 100 characters.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'


Comment on Re: 78/80 chars perl line still a meaningful rule

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2014-12-20 09:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (95 votes), past polls