12.8. More modulesuse File::Spec;
$f = File::Spec->catfile('home', 'admin', 'project'); # fancy OOP style
print "$f\n"; # home\admin\project on Windowsuse File::Spec::Functions; # build path based on current Os
$f = catfile('home', 'admin', 'project');
print "$f\n"; # home/admin/project on Unix
|