Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Alternate for "open"

by 2teez (Vicar)
on Nov 16, 2015 at 06:54 UTC ( [id://1147779]=note: print w/replies, xml ) Need Help??


in reply to Alternate for "open"

Hi ravi45722

..I am dealing with bigger files. If I use open its occupying my primary memory..

How is that so? Have you profiled your code?
More so, I didn't see how you are using open in your code as shown in your post.

If I didn't misunderstood your requirement, there are several alternative to dealing (data munging) with large files. File::Slurper, Path::Tiny and others

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me

Log In?
Username:
Password:

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

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

    No recent polls found