Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: perl development on Win32...but for UNIX!

by rdfield (Priest)
on Jan 24, 2006 at 09:54 UTC ( #525140=note: print w/ replies, xml ) Need Help??


in reply to perl development on Win32...but for UNIX!

I've never had a serious problem developing on Windows and deploying to *nix. Just avoid using platform specific modules (especially the Activestate Win32::* ones) and making calls to external utilities and commands. If you must do "platform specific" stuff, eg forking, use "require" in an eval and test for the OS type. Installing cygwin makes life a lot easier if you have to make external calls (in my case for re-encoding music) but there are still differences between how a shell call is executed in *nix and cygwin, though obviously not as severe as shell and cmd.

Getting the case right for your module names is something that *nix is very picky about, and one of the main causes of frustration when migrating from a Win32 dev platform.

For a bit of fun why not make your database Access or SQL Server on Windows and PostgreSQL or MySQL on *nix? :)

rdfield


Comment on Re: perl development on Win32...but for UNIX!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-11-23 04:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (128 votes), past polls