Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Yet another Uninitialized value

by nlafferty (Scribe)
on May 04, 2002 at 22:40 UTC ( [id://164076]=note: print w/replies, xml ) Need Help??


in reply to Re: Yet another Uninitialized value
in thread Yet another Uninitialized value

Yes. yes. I found out what it is just before I looked at your post.
I set
$total_time = 0; before I used it in the while statement.

The error occurred because the very first loop has no value for
$total_time until $total_time = $total_time + $all_minutes;

I discovered this by putting a print statment before and after $total_time = $total_time + $all_minutes;. The first print statement only had one value and all of the others had two. Thanks

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-25 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found