in reply to
use File::Basename - need to specify OS?
Not sure if it is exactly what you are asking, but you can get the "OS name" from $^O... I actually just used that in a script of mine...
Hope it helps.
-Shane
Comment on
Re: use File::Basename - need to specify OS?
In Section
Seekers of Perl Wisdom