Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: This turned out not to be the disaster I expected

by imp (Priest)
on Jun 06, 2007 at 19:39 UTC ( #619657=note: print w/replies, xml ) Need Help??


in reply to This turned out not to be the disaster I expected

It would call dump since that's the first command it would come across that would force an exit. Next up would be exec and exit.
  • Comment on Re: This turned out not to be the disaster I expected

Replies are listed 'Best First'.
Re^2: This turned out not to be the disaster I expected
by kyle (Abbot) on Jun 06, 2007 at 19:45 UTC

    Actually, it looks as if exec does not do the job. I get "foo" from:

    perl -le '$x="exec";eval $x;print "foo";'

    Not so for dump and exit.

Re^2: This turned out not to be the disaster I expected
by FunkyMonk (Chancellor) on Jun 06, 2007 at 19:50 UTC
    ... and takes a breather at
    getc

    No exit with exec though. perldoc exec only mentions

    exec LIST exec PROGRAM LIST

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2021-03-08 16:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (126 votes). Check out past polls.

    Notices?