http://www.perlmonks.org?node_id=319335


in reply to Re: split, Use of uninitialized value
in thread split, Use of uninitialized value

Autovivification doesn't happen in this case, e.g.

my $foo = [qw(a b c)]; if (defined $foo->[4]) { print "this will not print\n"; } print join('|', @$foo), "\n";

... prints "a|b|c" instead of "a|b|c||" as you would expect if autovivification had occurred.

-- Mike

--
XML::Simpler does not require XML::Parser or a SAX parser. It does require File::Slurp.
-- grantm, perldoc XML::Simpler