[cricket-users] Error in /lib/Common/Log.pm ?

From: jari (jari.peuralahti@hpy.fi)
Date: Tue Jun 08 1999 - 06:19:41 PDT


From: jari <jari.peuralahti@hpy.fi>

When I run ~/cricket/collector /routers
Ill get:
Ambiguous use of ${time} resolved to $time at
/home/cricket/cricket/./lib/Common/Log.pm line 43.
[08-Jun-1999 16:08:20 ] Starting collector: Cricket version 0.66 ( Thu Jun 3
00:22:40 PDT 1999 )
[08-Jun-1999 16:08:23 ] Retrieved data for isdn-gw.nmc.hpy.fi ():
12,12,675232,525052
[08-Jun-1999 16:08:23 ] Processed 1 targets in 7 seconds.

Then quick hacked Log.pm and after that it dosen't say anything and all go
nicely

My hack was:
diff ./Common/Log.pm /home/cricket/cricket-0.66/lib/Common/Log.pm
43c43
< print STDERR "[${time}${severity}] $msg\n"; --- original
line

---
>               print STDERR "[$time ${severity}] $msg\n";  #-- fixed line ?

Is this right way to do this or do I have proplem in somewhere else ?

--Jari PD. No puns anymore ill promest ...

------------------------------------------------------------------------ Looking for a new hobby? Want to make a new friend? http://www.onelist.com Come join one of over 165,000 e-mail communities at ONElist!



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:52 PST