in reply to Re^5: Script using File::Spec fails...
in thread Script using File::Spec fails...

I think the point is that both scripts run effectively on both unix and windows. That means that the explicit forward slash works as a path separator on both platforms. So I think cgmd's question is valid, and not yet satisfactorily answered.

That said, File::Spec is really about portability. It's supposed to free you from caring about such things as path separators on many platforms, such as Mac and VMS.

A word spoken in Mind will reach its own level, in the objective world, by its own weight