What he said, plus...
print 'a variable,', $myvar, ', is within'potentially might be faster than either interpolation or concatenation (which are likely equivalent) but you'd need to use Benchmark to confirm.
In reply to Re: which is faster, interpolation or concatenation?
by grantm
in thread which is faster, interpolation or concatenation?
by antichef
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |