in reply to initialize arrays and hashes
Perl, unlike C, C++, and other "pay only for what you use" languages, always automatically initializes scalar variables to "undef", or in the case of container variables, to the empty list. In a "Do what I mean" and "autovivification" language like Perl, it just seems to work better that way.
Dave
|
|---|