On Jan 22, 2004, at 5:56 PM, wolf blaum wrote:
[..]
Nevertheless Im happy it seems this is a group were
you can even learn how to explain (and what the group-iquette is
anyway).
[..]
Good point there.
A part of the struggle is always sort out what
the OP is really working with, and where are th
> My Compliments on a well done piece.
OT:
see, a logical problem I have with newsgroups is that you learn most (at least
I do) by trying to explain things you think you understood to others -
"beginning explainers" however make mistakes -
Thats of course not what you want in a newsgroup, si
On Jan 22, 2004, at 3:39 PM, wolf blaum wrote:
[..]
call:
scriptname.pl Universe 42 douglas 'Zappod Beblebrox'
#! /usr/bin/perl
use strict;
use warnings;
print "You called me with ", scalar @ARGV, " Arguments.\n";
if (@ARGV) {
print " Param to script: $_\n" foreach (@ARGV);
}
My Compliments on
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
> I'm a perl newby.
me too:-) Right list, I assume.
> 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.
@ARGV holds your command line arguments.
call:
scriptname.pl Universe 42 dougl
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.
Thanks
=
Jeffrey T. Collins
[EMAIL PROTECTED]
__
Do you Yahoo!?
Yahoo! SiteBuilder -