Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
my $webpage = $ARGV[0] || die "No Web page number given.\n"; if (int($webpage/2) == ($webpage/2)) { print "$webpage\n";#JUST WANT EVEN PAGE NUMBERS }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Adding command line arguments.
by Joost (Canon) on Jun 06, 2002 at 14:04 UTC | |
by robobunny (Friar) on Jun 06, 2002 at 14:11 UTC | |
by Anonymous Monk on Jun 06, 2002 at 14:21 UTC | |
Re: Adding command line arguments.
by stajich (Chaplain) on Jun 06, 2002 at 14:08 UTC | |
Re: Adding command line arguments.
by marvell (Pilgrim) on Jun 06, 2002 at 14:13 UTC | |
Re: Adding command line arguments.
by robobunny (Friar) on Jun 06, 2002 at 14:06 UTC | |
Re: Adding command line arguments.
by u914 (Pilgrim) on Jun 06, 2002 at 14:55 UTC | |
Re: Adding command line arguments.
by ariels (Curate) on Jun 06, 2002 at 14:41 UTC |