another list user, david baines helped me out on this one...
its very simply that your version of getopt::long is not recent enough

get the latest from cpan and install and it works perfectly from then on

ronan

Stephan Paukner wrote:
On Wed, December 15, 2004 9:53, Ronan said:

I actually never knew about this until i was having a hoke around...
anyway cant get it to run..

./sa-stats.pl -l /var/log/syslog -H -T 5 -u
Error in option spec: "top|T:25"
Error in option spec: "SCALAR(0x4c9a68)"
bash-2.03$

i presume this is to do with the per user count but it even flags when
i run

bash-2.03$ ./sa-stats.pl -l /var/log/syslog Error in option spec:
"top|T:25"
Error in option spec: "SCALAR(0x4c9a38)"


and even

bash-2.03$ ./sa-stats.pl Error in option spec: "top|T:25"
Error in option spec: "SCALAR(0x4c9a20)"


any hints? thanks.


does anyone here use sa-stats.pl? Has the above rror been seen by anyone else?


Yes, me:

# /root/.cpan/build/Mail-SpamAssassin-3.0.1/tools/sa-stats.pl -l
/var/log/mail.log
Error in option spec: "top|T:25"
Error in option spec: "SCALAR(0x85202d4)"

This also happens with no arguments given.

Regards


-- Regards

Ronan McGlue
==============
Analyst/Programmer
Information Services
Queens University Belfast
BT7 1NN

Reply via email to