Hi,

I am trying to group some common subroutines into a module. As I use 
both Win32 and *nix systems I wanted the the routines that use the 
file system to be able to work in both environments and handle paths 
like /var/path/to/dir and h:\home\dir equally well.

I know that perl will treat h:/home the same as h:\home but I imagine 
that there is more to making a module portable than simply s!\/!\\! 
all paths.

Is there a trick to this? Should you use OS detection and then start 
converting the path or is there a module that will do the work for 
you?

Thanx,
Dp.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to