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

Re: Open multiple file handles?

by GrandFather (Sage)
on May 07, 2011 at 06:53 UTC ( #903505=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
        $_ ||= 0 for @{$data{$key}};
        print "$key @{$data{$key}}\n";
    }
    
  2. or download this
    a 1 5 1
    b 2 0 0
    c 3 0 0
    d 0 3 0
    x 0 0 4
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2019-01-22 10:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    After Perl5, I'm mostly interested in:
































    Results (374 votes). Check out past polls.

    Notices?