Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: How to access a hash from another file

by vagabonding electron (Curate)
on Oct 18, 2011 at 10:48 UTC ( [id://932109]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open(my $fh, "<", "parameter.csv") or die "$!";
    my $header = <$fh>;
    ...
        ${module}{$t}{indicator}{$n}{yscala} = $line[4];
    }
    close $fh;
    
  2. or download this
    my @cmds;
    for my $number (sort keys %{${module}{$topic}{indicator}}){
    ...
    for (my $i=0; $i<@cmds; $i++) {
            $slurpline.=$cmds[$i];
    }
    
  3. or download this
    open my $P, "|-", "gnuplot" or die;
    
    ...
    ]; 
    
    close $P;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-04-23 18:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found