On 11/11/07, sivasakthi <[EMAIL PROTECTED]> wrote:

>  Can't use string ("1193892901.686") as a SCALAR ref while "strict refs" in
> use at telseek.pl_ line

The line number that you omitted points to a place in your source code
where you dereference a reference to a scalar, but the reference in
question wasn't a reference at all but a stray number (representing a
recent timestamp, down to the millisecond?). Perl is telling you that
you're using a number as if it's a reference, and you should stop
doing that.

My guess (and a guess is the best I can offer, since you didn't show
us any source code) is that you didn't mean to de-reference the value,
since it's already the value you're looking for.

You may benefit from using the Perl debugger to step through your
code. The perldebug manpage has the details.

Cheers!

--Tom Phoenix

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to