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>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jeffa) Re: Arrays
by jeffa (Bishop) on May 05, 2002 at 22:17 UTC | |
by dsheroh (Monsignor) on May 06, 2002 at 19:45 UTC | |
by jeffa (Bishop) on May 06, 2002 at 20:06 UTC | |
by Jaspersan (Beadle) on May 07, 2002 at 00:14 UTC | |
by dsheroh (Monsignor) on May 06, 2002 at 21:56 UTC | |
by jeffa (Bishop) on May 06, 2002 at 22:21 UTC | |
by c-era (Curate) on May 06, 2002 at 19:59 UTC |