Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: TIMTOWTDI Challenge: Zero'ing Out An Array

by JavaFan (Canon)
on Sep 27, 2011 at 16:04 UTC ( #928110=note: print w/replies, xml ) Need Help??


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

sub TIEARRAY {bless []} sub FETCH {;} sub FETCHSIZE {0} sub STORE {;} sub STORESIZE {;} sub EXISTS {;} sub DELETE {;} sub CLEAR {;} sub POP {;} sub PUSH {;} sub SHIFT {;} sub UNSHIFT {;} sub SPLICE {;} sub EXTEND {;} tie @array, 'main';