Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Perl on Windows 2000

by moxliukas (Curate)
on Jul 22, 2003 at 12:47 UTC ( #276699=note: print w/replies, xml ) Need Help??

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"

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://276699]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2023-06-01 11:23 GMT
Find Nodes?
    Voting Booth?

    No recent polls found