good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Memory allocation functionsby cdarke (Prior) |
on Feb 02, 2009 at 12:34 UTC ( [id://740677]=note: print w/replies, xml ) | Need Help?? |
There is! You can get memory as a scalar, an array, or a hash. Like so: That memory is dynamic and managed by perl itself, so you don't need to remember to free it (usually) and you don't need to remember how much memory to allocate. Great isn't it!
In Section
Seekers of Perl Wisdom
|
|