in reply to where to look up "funny looking" perl notation (and an example)
@a = (1..1000); print "original array:\n"; print join(",", @a), "\n"; $#a = -1; print "after set to -1:\n"; print join(",", @a), "\n";#You can not say for sure that your array ha +s already been garbage collected at this point, but at least it is no +w a candidator.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: where to look up "funny looking" perl notation (and an example)
by Hofmator (Curate) on Jan 22, 2003 at 13:18 UTC |