Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^8: How can I read DATA in parent and child?

by tybalt89 (Monsignor)
on Feb 20, 2019 at 10:33 UTC ( [id://1230236]=note: print w/replies, xml ) Need Help??


in reply to Re^7: How can I read DATA in parent and child?
in thread How can I read DATA in parent and child?

It's not perl, it's the OS. You'd have the same problem with an already open fd in C. DATA is just an open fd on the source file.

Try a seek DATA, 0, 0; and notice you can read the whole source file.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-19 03:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found