Ask a Question related to PERL Beginners, Design and Development.
-
Paul Kraus #1
RE: Perl Newbie question: How would you take keyboard input and run a shell scrip with that input?
I don't think you could be vaguer :)
Very basic
#!/usr/bin/perl
# update.pl multiple options command line
my @packages = @ARGV
foreach (@packages){
system(packageexecutableforupdate);
#with output captured
My $output = `packageexecutableforupdate`;
}
Not tested of course. More info may lend yourself to a better answer.
Paul
Paul Kraus
-----------------------
PEL Supply Company
Network Administrator> -----Original Message-----
> From: Jeff Collins [mailto:jtbaca@yahoo.com]
> Sent: Wednesday, December 31, 2003 11:44 AM
> To: [email]beginners@perl.org[/email]
> Subject: Perl Newbie question: How would you take keyboard input and run a
> shell scrip with that input?
>
> For example: I would like for the user to enter the
> name of a software package to use and then call a
> shell script to use that package name to upgrade
> software.
>
> Thanks
>
> =====
> Jeffrey T. Collins
> [email]jtbaca@yahoo.com[/email]
>
> __________________________________
> Do you Yahoo!?
> Find out what made the Top Yahoo! Searches of 2003
> [url]http://search.yahoo.com/top2003[/url]
>
> --
> To unsubscribe, e-mail: [email]beginners-unsubscribe@perl.org[/email]
> For additional commands, e-mail: [email]beginners-help@perl.org[/email]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
Paul Kraus Guest
-
date input from keyboard and from datechooser
Hi I have an application and I'd like to give the users the posibility to enter a date from keyboard, and also to be able to pick one from a... -
Keyboard Input Non-Functional
When I attempt to play any flash game on any given website I get no feedback from the game. Mouse movements and clicks do, however, work. I'm... -
Keyboard input
Is there away to navigation html pages with arrows instead of mouseclicks. My client does not want the usual NEXT and BACK buttons on the screen.... -
Detecting keyboard input
Problem overview. An item of hardware has been built that contains a number of keys. Pressing these keys produces an event that is the same as a... -
Flash and japanese keyboard input problem (OS 9.0)
Does anyone have experience of the following? I have Japanese language installed and when using Flash MX the OS keeps going into Japanese...



Reply With Quote

