On Jan 2, 2006, at 12:53, Aditi Gupta wrote:

The error message "argument "1,2,undef,3,4" isn't numeric" was being
displayed. But with Data Dumper it is working.

That message is a warning, your code was probably doing some math with something that didn't look like a number. From your message looks like your code was treating the very string "1,2,undef,3,4" as a number. That smells like a bug.

Additionally, I wanted to comment the subject of the post suggests you think 1 and "1", and undef are "heterogeneous" data. Arrays in Perl are _homogeneous_ indeed, they can only store scalars.

-- fxn


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


Reply via email to