The reason it doesn't segfault is the same as the reason you never have to malloc() or free() anywhere in perl code: perl handles all the memory allocation for you behind the scenes. Perl arrays (and strings, and hashes) will all grow to fit whatever you stuff into them.
In reply to Re: Array splice
by DrHyde
in thread Array splice
by code-ninja
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |