http://www.perlmonks.org?node_id=135770


in reply to FTP question

Perl can execute UNIX commands doing something that took me forever to figure out and is just really weird. I couldn't pray to tell you where to find it anymore but here is the answer. I could let you look for it forever HAHAHA! but I'm nice.
#!/usr/bin/perl -w open I, "| ps -ef" or die; close I;
Now remember where it says "open I"....."I" can be anything. It could be "Open PROCESS" it doesn't matter. The "close I" has to be there though or "close PROCESS". You can make that handle anything you want it to be. Then after that you can use any UNIX system command. ls, cd, ls -al, ftp, it will open anything so far as I've used it.

HAVE FUN!
The Brassmon_k