in reply to ActiveState Perl: Forward or Backward Slash?
File::Spec uses the official "\". Other Perl functions.... not so well ported. You can always canonize your paths:
use File::Spec; print File::Spec->canonpath('C:/perl/Mytest.pm'); # Prints: C:\perl\Mytest.pm
|
|---|