in reply to Declare values in array using Regex
@array = map {"log$_"} map {my $s = $_; map {"$_$s"} qw [a b]} 1 .. 7;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Declare values in array using Regex
by perl177 (Initiate) on Feb 10, 2009 at 22:16 UTC | |
by Lawliet (Curate) on Feb 10, 2009 at 23:08 UTC |