Do you know where your variables are? | |
PerlMonks |
Re: Re: Re: multiple (different) substitutions on same $fooby esh (Pilgrim) |
on Aug 22, 2003 at 08:01 UTC ( [id://285710]=note: print w/replies, xml ) | Need Help?? |
If your code is as simple as the sample you presented (three substitutions), then I believe your original style is probably faster and much clearer than the other alternatives proposed. If you actually have dozens of substitutions to make, then I think it may be worth trying out one of the abstractions offered, though performance should be tested if it is a possible concern. -- Eric Hammond
In Section
Seekers of Perl Wisdom
|
|