in reply to How do I migrate a set of Unix scripts to Windows ActivePERL?

As one of the others said, it's not that hard unless something else is broken:
use lib 'c:/some/perl/lib';
works fine. And if the directories are on hte same drive, you can leave off the directory:
use lib '/some/perl/lib';
And as another noted, slashes either way are fine tho' you need to be careful within double quotes.

Replies are listed 'Best First'.
Re (tilly) 2: How do I migrate a set of Unix scripts to Windows ActivePERL?
by tilly (Archbishop) on Mar 24, 2001 at 08:03 UTC
    You only need to be careful in double quotes? What does this short program do?
    my $dir = 'c:\this\is\a\dir\'; print "$dir\n";
      It complains that the string is not terminated. Touche (accent is assumed). So use forward slashes, even on windows and avoid that mess? :)
        Using forward slashes is a solution.

        Another is to always double backslashes as a reminder to yourself and (more importantly) co-workers that single quotes are not quite literal strings.

        Of course you could always just avoid Windows altogether...