http://www.perlmonks.org?node_id=276699


in reply to Perl on Windows 2000

Most of the specific Perl issues on cross-platform development are mentioned in perlport manual. You should also look for bits and pieces of shell code that is very usually hardcoded into perl scripts under Unix systems.

I'd say the major differences are path separators, handling of binary data in files and use of external shell utilities.

Replies are listed 'Best First'.
Re: Re: Perl on Windows 2000
by arturo (Vicar) on Jul 22, 2003 at 13:09 UTC

    And don't forget the accursed differences in the way even the NT command line interpreter ("shell" in Unix-speak) does(n't do) globbing with the examples of "one-liner" scripts.

    If you don't know what I'm talking about, try

    perl -pi.bak -e "s/UNIX/Windows/" *.txt
    on Unix and any flavour of Windows.

    OK, maybe that's not so helpful, but it bothers me so much =)

    If not P, what? Q maybe?
    "Sidney Morgenbesser"

Re: Re: Perl on Windows 2000
by nimdokk (Vicar) on Jul 22, 2003 at 13:19 UTC
    Thanks, I'd forgotten about that.


    "Ex libris un peut de tout"