Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Alternate for "open"

by 2teez (Vicar)
on Nov 16, 2015 at 06:54 UTC ( #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
Node Status?
node history
Node Type: note [id://1147779]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2021-04-20 02:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?