http://www.perlmonks.org?node_id=1143259


in reply to Re: filesystem path concatenation
in thread filesystem path concatenation

Or even File::Spec which is a core module :-

$path = File::Spec->catfile( @directories, $filename );