Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

I fear my code is unreadable

by Boldra (Deacon)
on May 06, 2008 at 12:39 UTC ( [id://684927]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $col_width = ( sort { $b <=> $a } map { length } ( #sort lengths
                           (keys %lists, map { @$_ } values %lists)       
    +          
                      ) )[0] + 2; #2 is the padding
    
  2. or download this
        my %lists;
        my @amazon = qw(hot tropical humid wet);
    ...
    
        $lists{"The Amazon is"} = \@amazon;
        $lists{"The Sahara is"} = \@sahara;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://684927]
Approved by moritz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-25 07:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found