Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 browsing the Monastery: (4)
As of 2014-09-20 17:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls