|XP is just a number|
Answer: How do I execute a list of Unix commands from inside a perl programby btrott (Parson)
|on Mar 28, 2000 at 00:26 UTC||Need Help??|
Q&A > network programming > How do I execute a list of Unix commands from inside a perl program - Answer contributed by btrott
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.