Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Re: Re: {3} Using Variables in Path Namesby impossiblerobot (Deacon) |
on Nov 28, 2001 at 21:25 UTC ( [id://128103]=note: print w/replies, xml ) | Need Help?? |
As far as I can tell, using 'join' or the concatenation operator(.) are both reasonably fast; interpolation is slower than either. Of course, you would have to do a lot of joining for it to make any difference in the speed of your program. If interpolation is more readable (which I think it is), you could always do this:
for the extra speed boost. :-) (Actually, that's kind of ugly, too. I would probably just interpolate.) Impossible Robot
In Section
Seekers of Perl Wisdom
|
|