See IPC::Open3 or IPC::Open2, and also perlipc.
Maybe you want to look at Net::FTP instead.
Also, soon you will be Suffering from Buffering, especially with a subprocess whose output you don't control.
In reply to Re: feeding stdin of executed command and store stdout in $var
by Corion
in thread feeding stdin of executed command and store stdout in $var
by gabrielsousa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |