Greg:
I use both ActiveState Perl and on Linux. If you stick to the forward slash (/), there is no problem. From my memory, I never needed to code MicroSlash!


[EMAIL PROTECTED]

Sent by: [EMAIL PROTECTED]

04/01/2003 09:11 AM

       
        To:        mongers of perl <[EMAIL PROTECTED]>
        cc:        
        Subject:        [Boston.pm] generic file system?



is there a generic file system interface
for perl?

this:==> (-e './subdir/file.ext')

works fine on Linux, but I'd have to
                s{/}{\}g  
to get it to work on windows.

how do you write code that will work
on both file systems without a lot of
                if($nix) {blah/blah;}
                else {blah\blah;}

I have a perl application I wrote for
windows that I'd like to pull over to
linux. If I do the work, I'd like to
rewrite it so it works on both sides.

Greg
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm


Reply via email to