Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

confusing fork/readline behaviour

by flipper (Beadle)
on Aug 13, 2015 at 17:37 UTC ( [id://1138461]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -e '
      open X, "</etc/passwd";
    ...
      }
      print "$$: all done\n"
    '
    
  2. or download this
    8488: root:x:0:0:root:/root:/bin/bash
    8489: all done
    ...
    8488: bin:x:2:2:bin:/bin:/bin/sh
    8488: <rest of the file>
    8488: all done
    
  3. or download this
    $ perl -v
    
    This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-li
    +nux-gnu-thread-multi
    (with 89 registered patches, see perl -V for more detail)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1138461]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found