Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I want to create different array name by passing the string , to identify each of the other arrays uniqueness. Here s the code
foreach my $R2 (@array) { push (@isis_adjacencies$R2, $R2); }
I am trying to create @isis_adjacencies$R2. I want the value of $R2 to be concanetaed with @isis_adjacencies to create a new array @isis_adjacencies$R2. Is it possible
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Creating array name by susbtituting string
by choroba (Cardinal) on Sep 12, 2017 at 09:39 UTC | |
|
Re: Creating array name by susbtituting string
by hippo (Archbishop) on Sep 12, 2017 at 09:45 UTC | |
|
Re: Creating array name by susbtituting string
by kcott (Archbishop) on Sep 12, 2017 at 10:00 UTC |