Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Yet another set of Perl best practices

by TGI (Parson)
on Aug 30, 2012 at 06:54 UTC ( #990658=note: print w/replies, xml ) Need Help??


in reply to Re^2: Yet another set of Perl best practices
in thread Yet another set of Perl best practices

Oooh. Interesting.

Imagine a compiler that rejects code with excessive cyclomatic complexity or too many SLOC. unless you add a pragma marking it as ok.


TGI says moo

  • Comment on Re^3: Yet another set of Perl best practices

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://990658]
help
Chatterbox?
[huck]: but you can print a hash in sorted order
[huck]: my @aa; for my $key (sort keys %hash){push @aa,$key,$hash{$ke y};} print join(',',@aa)."\n ";

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2018-05-27 08:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?