On Mon, Jul 09, 2001 at 03:22:59PM -0500, saliminl wrote:
> The problem is, I have no clue what is on these systems (modules) and I
> have no permissions to install outside of my home directory. I'm a lowly
> terminal boy :-( but this program will be used network wide, so maybe I
> should talk t
On Jul 9, saliminl said:
>The problem is, I have no clue what is on these systems (modules) and I have
>no permissions to install outside of my home directory. I'm a lowly terminal
>boy :-( but this program will be used network wide, so maybe I should talk to
>the Network Admin. Of course, I
The problem is, I have no clue what is on these systems (modules) and I have
no permissions to install outside of my home directory. I'm a lowly terminal
boy :-( but this program will be used network wide, so maybe I should talk to
the Network Admin. Of course, I can do anything I want on my
you can use the Getopt::std module for that
it allows you to use flags like you know from your *nix system
it will store them in either a hashref or simple scalars, so it's quite
nifty
perldoc getopt::std for more info
hth
Jos Boumans
- Original Message -
From: "saliminl" <[EMAIL PROTE
Example:
use Getopt::Std;
getopts("dwmy", \%options);
# If no command line option is specified print the usage.
if (!defined $options{d} && !defined $options{w} && !defined $options{m} &&
!de$
print "
Usage: log.pl < -d -w -m -y >
-d : generate log for last 24 hours
-w