in reply to (jeffa) Re: Arrays
in thread How do I reset an array?
I tried it out and see that this works, but it doesn't seem to me that it should, since you appear to be storing a reference to the function in the array rather than the list of values returned by the function. Is this just a technique for deferring execution of getarray until the foreach my $val (@array) or is something else going on here?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jeffa) 3Re: Arrays
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 | |
|
Re: Re: (jeffa) Re: Arrays
by c-era (Curate) on May 06, 2002 at 19:59 UTC |