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
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
|
---|
In Section
Seekers of Perl Wisdom