Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Aging Script

by Seema (Novice)
on Aug 09, 2001 at 01:36 UTC ( #103241=note: print w/replies, xml ) Need Help??


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:
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"; } ...
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"; } ...
~Seema

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://103241]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2022-12-10 04:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?