in reply to Re: Is there a way to open a memory file with binmode :raw?
in thread Is there a way to open a memory file with binmode :raw?
That is genius! Thank you so much for this :)
I appreciate everyone's patience with me on this over the last month or so. Digging through all the docs was informative, but just a tad overwhelming trying to piece it all together which led to confusion.
When it was pointed out that a scalar ref is NOT a file and the two are treated in different ways helped a lot.
In this round, my goal was an anonymous temp file for which I had gone on to use File::Temp which I felt was a bit heavy-handed. I'm very surprised I never came across the link you shared in my travels.
Cheers everyone,
-stevieb
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Is there a way to open a memory file with binmode :raw? (open undef)
by tye (Sage) on Oct 13, 2015 at 04:27 UTC | |
by shmem (Chancellor) on Oct 13, 2015 at 07:35 UTC | |
by tye (Sage) on Oct 13, 2015 at 16:58 UTC |