rir has asked for the wisdom of the Perl Monks concerning the following question:
Given an array what is the best way to return it as a list?
Other than punning existing functions are there good reasons to return a list instead of an array?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Returning lists vs arrays
by broquaint (Abbot) on Jan 20, 2003 at 16:38 UTC | |
|
Re: Returning lists vs arrays
by hardburn (Abbot) on Jan 20, 2003 at 16:42 UTC | |
by ihb (Deacon) on Jan 20, 2003 at 16:54 UTC | |
|
Re: Returning lists vs arrays
by BrowserUk (Patriarch) on Jan 20, 2003 at 17:01 UTC | |
|
Re: Returning lists vs arrays
by rir (Vicar) on Jan 20, 2003 at 17:03 UTC | |
by merlyn (Sage) on Jan 21, 2003 at 05:10 UTC | |
by OM_Zen (Scribe) on Jan 20, 2003 at 17:44 UTC | |
|
Re: Returning lists vs arrays
by OM_Zen (Scribe) on Jan 20, 2003 at 16:51 UTC |