Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: making a text file to an hash array

by johngg (Canon)
on Jul 15, 2010 at 20:36 UTC ( [id://849862]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MData::Dumper -E '
    > $text = <<EOT;
    ...
              'i' => []
            );
    $
    
  2. or download this
    my $dataFile = q{/path/to/myDataFile};
    my $text = do {
    ...
       local $/;
       <$dataFH>;
       };
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-25 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found