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

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";
  • Comment on Re (tilly) 2: How do I migrate a set of Unix scripts to Windows ActivePERL?
  • Download Code

Replies are listed 'Best First'.
Re: Re (tilly) 2: How do I migrate a set of Unix scripts to Windows ActivePERL?
by voyager (Friar) on Mar 24, 2001 at 08:25 UTC
    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...