|Problems? Is your data what you think it is?|
Re: How do I execute UNIX commands from a perl scriptby jwest (Friar)
|on Nov 02, 2001 at 03:28 UTC||Need Help??|
For what it sounds like you'll want, the most you should need is to call system() with the commands you want to call. See the link for details on how to use it.
A quick and dirty example would be something like:
system("cp /foo /bar");
system("cp", "/foo", "/bar");
each of which do slightly different things. See system() or try a Super Search for more discussion.
Hope this helps!
-><- -><- -><- -><- -><- All things are Perfect To every last Flaw And bound in accord With Eris's Law - HBT; The Book of Advice, 1:7