Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Calling subroutine with exec() in .cgi script

by blazar (Canon)
on Jan 19, 2006 at 09:28 UTC ( [id://524163]=note: print w/replies, xml ) Need Help??


in reply to Calling subroutine with exec() in .cgi script

Calling subroutine with exec() in .cgi script

exec, like the underlying system call, just substitutes the current process with another one: i.e. it executes another program and never returns. It is not for executing subroutines. (The most similar thing I can think of that is related to subroutines, is magical goto, but in "standard use" one rarely needs it and good old plain sub call is fine instead.)

  • Comment on Re: Calling subroutine with exec() in .cgi script

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-19 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found