good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I wonder what you really want to do. As far as I understood you want to read from a file from two different processes, right? The use of <DATA> is just a simplification. Please correct me if i‘m wrong. You may consider to use MCE::Hobo. If you don‘t use threads it forks. Please see Re: Parallel trigger of different subs as well as the whole thread ibidem for inspiration. Minor update: Fixed typo. Best Regards, Karl «The Crux of the Biscuit is the Apostrophe» perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help In reply to Re: How can I read DATA in parent and child?
by karlgoethebier
|
|