To call another perl script, you can "require" it, or "do" it, or call it with system() or backticks. To exit/restart, you could fork a child and then exit the parent. Sincerely,
It sounds like you're interrested in exiting a script and run another one (or itself again) in its place. That's pretty much what exec("command" does.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.