Jaspersan has asked for the wisdom of the Perl Monks concerning the following question:
Updated by boo_radley : title changeOk, how do i reset an array to hold nothing? #-- @arr; #?? #-- #I make an array like so: @array=&getarray(); #and i loop through it, and append it to $blah: foreach $val (@array) { $blah=$blah.",".$val; } #but everytime i do this it appends the new array to the old $blah, i +tried $blah; ^jasper <jasper@wintermarket.org>
Back to
Seekers of Perl Wisdom