in reply to Re: Argument "" Isn't numeric in numeric eq (==)
in thread Argument "" Isn't numeric in numeric eq (==)
I agree that ler224's OP is no more than a hint of a suggestion of a specification, but the only way I can see to get an array containing empty strings from something like 1,1,,,, is if it's a string '1,1,,,,' that's been subjected to some kind of split operation. If 1,1,,,, is a list literal, all those commas flatten to nothing.
c:\@Work\Perl\monks>perl -wMstrict -MData::Dump -le "my @ra = ([1,1], [1,1,,,,], [1,1,,,,,,,,,,,,]); dd \@ra; " [[1, 1], [1, 1], [1, 1]]
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Argument "" Isn't numeric in numeric eq (==)
by kcott (Archbishop) on Feb 11, 2014 at 04:52 UTC | |
by AnomalousMonk (Archbishop) on Feb 11, 2014 at 12:15 UTC |