Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Parsing a file with parentheses to build a hash

by RichardK (Parson)
on Nov 14, 2014 at 14:54 UTC ( [id://1107210]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Parsing a file with parentheses to build a hash
in thread Parsing a file with parentheses to build a hash

I'd use File::Slurp read_file, but there are lots of ways to do it.

use File::Slurp; my $text = read_file( $filename );

Replies are listed 'Best First'.
Re^4: Parsing a file with parentheses to build a hash (slurp it good)
by toolic (Bishop) on Nov 14, 2014 at 15:15 UTC
Re^4: Parsing a file with parentheses to build a hash
by xcellsior (Novice) on Nov 14, 2014 at 18:38 UTC
    2 lines vs 7 is always a good trade!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2025-07-19 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.