Handling things like command line interfaces is always trickier than it seems it will be. You'll always trip up on some little problem like this.
That's why people write things like Net::FTP which go straight for the underlying protocol. It's easier to use and more efficient. There's no good reason not to use it.
--In reply to Re: Writing to a program
by davorg
in thread Writing to a program
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |