Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: TIMTOWTDI Challenge: Zero'ing Out An Array

by ikegami (Pope)
on Sep 27, 2011 at 17:53 UTC ( #928128=note: print w/ replies, xml ) Need Help??

in reply to TIMTOWTDI Challenge: Zero'ing Out An Array

my @array;

I don't think I've ever had to zero out an array, and when I see it in code, it's just because the coder mispositioned a my @array;.

By the way, undef @array; and $#array = -1; do more than just empty the array.

Comment on Re: TIMTOWTDI Challenge: Zero'ing Out An Array
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928128]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2016-02-08 07:28 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (268 votes), past polls