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

Calculating percentage of change between columns

by naChoZ (Curate)
on May 29, 2013 at 22:47 UTC ( #1035927=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    num|name
    1|foo
    ...
    27|quux
    37|quuux
    48|quuuux
    
  2. or download this
    file1:
    acct|description|nums
    ...
    foo-004|foo four|12,18,25,37
    foo-005|foo five|12,15,25,27,37
    foo-006|foo six|1,12,15,25,27,37,99
    
  3. or download this
    $hash => {
        file1 => {
    ...
                    quuuux => 0,
                 },
    }
    
  4. or download this
    name    file1   file2   file3
    foo     4       4       4
    ...
    quux    8       8       8
    quuux   6       5       5
    quuuux  empty   empty   empty
    
  5. or download this
    name    file1   file2   %change  file3   %change
    foo     4       4       0%       4       0%
    ...
    quux    8       8       0%       8       0%
    quuux   6       5       -83%     5       0%
    quuuux  empty   empty            empty
    
  6. or download this
    my $hash = {};
    my @heading = ( 'name' );
    ...
    
    push @heading, basename($_) for sort @filenames;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-09-17 10:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (71 votes), past polls