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
|
|---|