Subject: | File::Spec::Unix::canonpath should concatenate, not interpolate, return value |
The last line is:
return "$node$path";
Since I believe concatenation should always be faster than
interpolation, it should be changed to:
return $node. $path;
Since canonpath is a hot-spot that is called frequently in the code
(e.g. in catdir and catfile), this should deliver some slight
performance improvement for code that makes heavy use of File::Spec.
-- David