[ABE.pm] arg isn't numeric?

Ricardo SIGNES rjbs-perl-abe at lists.manxome.org
Wed Feb 11 12:33:12 CST 2004


* Phil Lawrence <prlawrence at lehigh.edu> [2004-02-11T11:30:36]
> Anyone see why I'm getting this error?  (source at bottom)  Shouldn't 
> the strings auto-convert to numeric?

> > date_algo.pl '2000-05-07', '2003-11-26', 10

I sure do.  Why are you putting commas on the command line?

You just want "perl date_algo.pl 2000-05-07 2003-11-26 10"

I've got a few other suggestions to offer, as regards style, clarity,
and good practise.  I'd be happy to rant, if you like. :)

-- 
rjbs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/abe-pm/attachments/20040211/70ac6eed/attachment.bin


More information about the ABE-pm mailing list