palkia has asked for the wisdom of the Perl Monks concerning the following question:
but that didn't do the trick, nor any other variation of the var & eval.my temp4ev = '$'.$fromUserNumber; @simMatches = map{$_ =~ s/$pat/eval($temp4ev)/e} @simMatches;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is there an array for $1,$2,$3... or some alternative ?
by davido (Cardinal) on Mar 14, 2012 at 03:52 UTC | |
by palkia (Monk) on Mar 14, 2012 at 04:57 UTC | |
|
Re: Is there an array for $1,$2,$3... or some alternative ?
by jwkrahn (Abbot) on Mar 14, 2012 at 04:49 UTC | |
|
Re: Is there an array for $1,$2,$3... or some alternative ?
by JavaFan (Canon) on Mar 14, 2012 at 07:37 UTC | |
|
Re: Is there an array for $1,$2,$3... or some alternative ?
by Marshall (Canon) on Mar 14, 2012 at 03:59 UTC | |
by palkia (Monk) on Mar 14, 2012 at 04:17 UTC | |
by Marshall (Canon) on Mar 14, 2012 at 06:27 UTC | |
|
Re: Is there an array for $1,$2,$3... or some alternative ?
by Anonymous Monk on Mar 14, 2012 at 05:02 UTC |