Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: what is the difference between perl scripting in windows and linux

by ikegami (Patriarch)
on Aug 04, 2010 at 16:49 UTC ( [id://852918]=note: print w/replies, xml ) Need Help??


in reply to Re^2: what is the difference between perl scripting in windows and linux
in thread what is the difference between perl scripting in windows and linux

Since you don't get an easy to use or install compiler with Windows

You are mistaken. There are *three* easy way to install a compiler.

  • Strawberry Perl comes with a compiler.
  • ActivePerl's cpan will automatically install a compiler if needed.
  • You can install MS's compiler for free. It's a one-click install.

Finally, and the BIGGEST problem, there is the hassle of getting precompiled modules for the various versions of win32.

Quite the opposite, it's a great plus that you don't need to compile most modules yourself.

  • Comment on Re^3: what is the difference between perl scripting in windows and linux
  • Download Code

Replies are listed 'Best First'.
Re^4: what is the difference between perl scripting in windows and linux
by amir_e_a (Hermit) on Aug 04, 2010 at 18:11 UTC

    There's also cygwin, which gives you a complete GNU-like environment on Windows, where you can install Perl, bash, gcc, make and all the other familiar tools from the GNU world and easily install CPAN modules and run shell scripts.

    People keep calling me names every time i say that, but i find the cygwin experience much more stable and predictable than ActiveState or Strawberry. Simply put, CPAN module installation fails much more often on these platforms than on cygwin.

Re^4: what is the difference between perl scripting in windows and linux
by zentara (Archbishop) on Aug 04, 2010 at 16:59 UTC
    Well ikegami, you use win32 alot, and I respect your opinion. But I still think Perl was designed with gcc in mind. I suppose if you never experienced the ease of "perl Makefile.PL, make, make install" on a module, you might get used to searching various win32 module repositories for binary compatible modules for your win32 system, and consider that easy and clean.

    The OP wanted comparisons, and the above are mine, an old linux dog who won't learn win32 tricks. :-)


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku

      I suppose if you never experienced the ease of "perl Makefile.PL, make, make install" on a module

      Not only are you mistaken about my experience, it's much easier to use cpan Module, and even easier to do ppm install Module since it handles external libraries.

      So

      [Install external dependencies] [Find URL for Module] wget [URL for Module] perl Makefile.PL make test make install

      becomes

      ppm install Module

      And if that fails,

      [Install external dependencies] cpan Module

      It's basically the equivalent of Debian's

      apt-get install perl-module-lib

      except it also works for builds of Perl other than the system build.

        I will take your word for it.... that modules on Windows is easier, and refer everyone to this link, and your explanation. :-)

        I'm not really a human, but I play one on earth.
        Old Perl Programmer Haiku
Re^4: what is the difference between perl scripting in windows and linux
by Anonymous Monk on Aug 04, 2010 at 20:12 UTC
    If you're using 32bit windows or a 32bit perl on 64bit windows these compilers will probably work for you.

    Last I checked MS makes the only compiler that will work w/ a 64bit perl for windows.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-20 04:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found