in reply to Re: Aging Script
in thread Aging Script
I ran the script again. I am getting an error in the 'Process arguments(help, days).
It says: Name "main::opt_h" used only once.
For:
It says: Name "main::opt_h" used only once.
For:
Should the code be???if($opt_h){ die "\agecmd.pl -d[days to age]\n"; } if($opt_d){ if($opt_d gt 9){ die "Error: days option must be a number. Use agecmd.pl -d[days to a +ge]\n"; } ...
~Seemaif($opt_h){ die "\agecmd.pl -d[days to age]\n"; } if($opt_d){ if($opt_d gt 9){ die "Error: days option must be a number. Use agecmd.pl -d[days to a +ge]\n"; } ...
|
---|
In Section
Seekers of Perl Wisdom