Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Quicker than:foreach ($a, $b, $c, $d) { tr/a-z/A-Z/; }
???for my $i ($a, $b, $c, $d) { $i =~ tr/a-z/A-Z/; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: default variable question
by dragonchild (Archbishop) on Feb 07, 2006 at 15:42 UTC | |
|
Re: default variable question
by adrianh (Chancellor) on Feb 07, 2006 at 15:30 UTC | |
|
Re: default variable question
by duff (Parson) on Feb 07, 2006 at 15:40 UTC | |
by derby (Abbot) on Feb 07, 2006 at 17:17 UTC | |
by spiritway (Vicar) on Feb 08, 2006 at 03:08 UTC | |
by ikegami (Patriarch) on Feb 07, 2006 at 18:51 UTC |