Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^3: Idiom: hashes as sets

by Anonymous Monk
on Jul 03, 2008 at 14:57 UTC ( #695373=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    #!/usr/bin/perl -- 
        printf "%10s %10s %10s\n", 'value', 'size', 'total_size'; 
        printf "%10s %10d %10d\n",$_, size($h{$_}),total_size($h{$_}) for 
    +sort keys %h;
  2. or download this
         value       size total_size
      !!!undef     660026    1420026
         sv_no     660026    1400026
        sv_yes     660026    1420026
         undef     660026     900026
  3. or download this
         value       size total_size
      !!!undef     660014    1540014
         sv_no     660014    1540014
        sv_yes     660014    1540014
         undef     660014     980014

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-08-27 08:11 GMT
Find Nodes?
    Voting Booth?
    The best thing I ever won in a lottery was:

    Results (378 votes). Check out past polls.