Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Redirecting/Restoring of Memory Files

by flexvault (Monsignor)
on Jun 25, 2015 at 18:42 UTC ( #1132001=note: print w/replies, xml ) Need Help??


in reply to Re^2: Redirecting/Restoring of Memory Files
in thread Redirecting/Restoring of Memory Files

Thank you ELISHEVA,

It's always good to learn something new, and doing I/O to a string is new to me. Since I use 'diff' a lot in *nix and also have my own editor for working with development files, I'm not sure how often I would use it.

As far as your 'black hole', you'll see the same with a regular file. I have prematurely closed a file handle and then later added a 'print' statement. No error, no warning and no data. Also if you save a file handle to disk and then retrieve, you need some 'Perl magic' to get it to be valid file handle again.

Thanks for the updated information...Ed

Regards...Ed

"Well done is better than well said." - Benjamin Franklin

  • Comment on Re^3: Redirecting/Restoring of Memory Files

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2021-10-24 19:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?