On Thu, 2004-01-22 at 18:14, Jeff Collins wrote:
> I'm a perl newby.
> I'm looking on taking a command line argument from
> STDIN and use it for input to a script that upgrades
> software. Any examples would be greatly appreciated.

STDIN is already open when your perl script starts so you can read in
from it by using:

my $variable = <STDIN>

And there are interfaces to curses, tk, and gtk if you feel like
creating a nice user interface.

Dan


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to