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
In reply to Re: ActiveState Perl: Forward or Backward Slash?
by ikegami
in thread ActiveState Perl: Forward or Backward Slash?
by saintmike
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |