From the docs:
"If you haven't called fileparse_set_fstype(), the syntax {that is, how the path is parsed} is chosen by examining the builtin variable $^O according to these rules."
$^O is the variable that contains the name of the operating system under which perl was built.
"these rules" can be found in the perldoc for File::Basename under fileparse_set_fstype.
In reply to Re: use File::Basename - need to specify OS?
by saintbrie
in thread use File::Basename - need to specify OS?
by kiat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |