stellagoddc has asked for the wisdom of the Perl Monks concerning the following question:
Is it possible to create an array with a variable name?
i.e. a script reads in from a file or command line and creates an array with the name of every 10th string read in and puts the other 9 entries into that arrray?
Thanks for any guidance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Variable naming of Arrays
by davido (Cardinal) on May 12, 2006 at 15:36 UTC | |
by stellagoddc (Novice) on May 12, 2006 at 16:08 UTC | |
by davorg (Chancellor) on May 12, 2006 at 16:14 UTC | |
|
Re: Variable naming of Arrays
by Fletch (Bishop) on May 12, 2006 at 15:25 UTC | |
by stellagoddc (Novice) on May 12, 2006 at 15:31 UTC | |
|
Re: Variable naming of Arrays
by tinita (Parson) on May 13, 2006 at 14:38 UTC | |
|
Re: Variable naming of Arrays
by blazar (Canon) on May 12, 2006 at 15:51 UTC | |
|
Re: Variable naming of Arrays
by TedPride (Priest) on May 12, 2006 at 19:10 UTC |