blackjudas has asked for the wisdom of the Perl Monks concerning the following question:
my @sub_locs2; for (@session_keys) { if ($_ =~ /taxman.add.subloc./) { $_ =~ s/taxman.add.subloc.//g; push @sub_locs2, $_; } } my @sub_locs = map { $_ =~ s/taxman.add.subloc.//g if $_ =~ /taxman. +add.subloc./ } @session_keys;
taxman.add.subloc.20 taxman.add.level taxman.add.value taxman.add.loc taxman.add.sel taxman.add.subloc.1 taxman.add.code taxman.add.subloc.16 taxman.add.subloc.19 taxman.add.name taxman.add.lvid
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: Using map
by tye (Sage) on Oct 05, 2001 at 00:44 UTC | |
by blackjudas (Pilgrim) on Oct 05, 2001 at 10:21 UTC | |
|
Re: Using map
by merlyn (Sage) on Oct 05, 2001 at 00:35 UTC | |
by Masem (Monsignor) on Oct 05, 2001 at 00:42 UTC | |
by merlyn (Sage) on Oct 05, 2001 at 00:56 UTC | |
|
Re: Using map
by suaveant (Parson) on Oct 05, 2001 at 00:41 UTC | |
by blackjudas (Pilgrim) on Oct 05, 2001 at 10:16 UTC | |
by suaveant (Parson) on Oct 05, 2001 at 17:26 UTC |