On 5/21/05, Ley, Chung wrote: > Hi, > > I have a piece of code which generates array of arrays which then is used to > call the > GD::Graph::Boxplot... > > For some reasons, I would have elements that is defined but has not value. I > have been > going thru the code to see if I had accidentally assigned null values or if I > had > accidentally do something like: > data[0][1] = 1; > data[0][100] = 100; > without defining the 99 elements within the range; but it doesn't seem to be > the case.... >
You can use the "defined" function to check if a value is 'undef" or not. Read "perldoc -f defined" from your command-line, or online at: http://perldoc.perl.org/functions/defined.html > Does someone has some suggestions as to how to debug this? > Debug what? Show us some code, explain exactly what you were expecting and what the problem is, and *then* we can help. HTH, -- Offer Kaye -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>