Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Trouble with fork()

by shmem (Chancellor)
on May 22, 2017 at 21:16 UTC ( [id://1190889]=note: print w/replies, xml ) Need Help??


in reply to Trouble with fork()

Hmm, interesting node, I thought, let's have a look, downloaded your sample, ran it as perl -c 1190887.pl and got this

String found where operator expected at 1190887.pl line 24, near "conf +ess "some child processes died."" (Do you need to predeclare confess?) syntax error at 1190887.pl line 24, near "confess "some child processe +s died."" Missing right curly or square bracket at 1190887.pl line 26, at end of + line syntax error at 1190887.pl line 26, at EOF 1190887.pl had compilation errors.

Please correct your posted code to the extent that it passes syntax checks and resembles what you are actually doing.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-03-29 11:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found