You may want to read the documents again... as well as search Google.use File::Spec; my $file; my $dir; my $wholefile; $dir = "c:\\perl\\bin\\"; $file = "perldoc.bat"; $wholefile = File::Spec->catfile($dir,$file); print "file: " .$wholefile;
In reply to Re: file::spec and catfile?
by LD2
in thread file::spec and catfile?
by KStowe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |