Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: can't spot the error

by erikharrison (Deacon)
on May 07, 2002 at 16:12 UTC ( [id://164694]=note: print w/replies, xml ) Need Help??


in reply to Getting rid of uninitialized value warning (was: can't spot the error)

Apparantly at some point $array[14] or $array[15] is empty. You get a slew of errors as this is repeated through the loop. Initialize each member of the array instead of setting it to empty - this will hitperformance but should clear your problem.

On another note, please indent your code within the while block. :-)

Cheers,
Erik

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-03-28 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found