![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: need help in creating multi dimensional arrayby davorg (Chancellor) |
on Feb 10, 2006 at 11:44 UTC ( #529327=note: print w/replies, xml ) | Need Help?? |
Perl doesn't really go in for all that restrictive nonsense. It will happily auto-vivify array elements at whatever index you give it. You might want to look at Tie::Array::Bounded, but note that Perl doesn't actually have multi-dimensional arrays so that you'll need to restrict each array individually.
-- <http://dave.org.uk> "The first rule of Perl club is you do not talk about
Perl club."
In Section
Seekers of Perl Wisdom
|
|