Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How do I execute a list of Unix commands from inside a perl program

by btrott (Parson)
on Mar 28, 2000 at 00:26 UTC ( [id://6266]=note: print w/replies, xml ) Need Help??


in reply to How do I execute a list of Unix commands from inside a perl program

With extreme care.

If you must do this, look at the system and exec commands in order to actually execute the commands. Pay particular attention to the multi-argument forms of both those functions, and use them, if possible--they're more secure.

Also, read perlsec and run in taint mode (-T), and do security checks on the commands that the server receives.

  • Comment on Re: How do I execute a list of Unix commands from inside a perl program

Log In?
Username:
Password:

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

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

    No recent polls found