Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: How to run a perl program from the Windows CMD?

by ww (Bishop)
on Mar 08, 2014 at 12:47 UTC ( #1077511=note: print w/ replies, xml ) Need Help??


in reply to Re^3: How to run a perl program from the Windows CMD?
in thread How to run a perl program from the Windows CMD?

Unless you're writing solely for web-oriented purposes, you'll be a lot better off downloading any one of the distros of Perl often cited here -- ActiveState, Strawberry, perlbrew, etc -- than trying to rely on Xampp's package. If nothing else, installing your own in C:\ or C:\Program Files will save you grief when you update... and most of Perl5's updates are well worth having.

That may well mean that some of what you write (non-web utilities, searches, etc) for the current non-Xampp version may bork should you simply move the code to Xampp, and will (eventually, if not today) require that you update/add modules via ppm or CPAN, but those are low prices compared to getting locked into what's likely to be an outdated version of Perl, in the Xampp bundle.

Come, let us reason together: Spirit of the Monastery


Comment on Re^4: How to run a perl program from the Windows CMD?
Re^5: How to run a perl program from the Windows CMD?
by Stefany (Novice) on Mar 08, 2014 at 14:28 UTC
    Thank you, I didn't know it wasn't enough to have Perl as part of Xampp I will download Strawberry Perl too.
      Perhaps I stated that too strongly... or less than clearly.

      I'm not saying that "to have Perl as part of Xampp" is "not enough"; merely that -- IMO, YMMV -- that's doing it the hard way.

      Further, I've never explored the code in Xampp and friends closely enough to say "a newer version of Perl than the one in the distribution could or will cause problems" but updating Perl requires that you update your modules, as well, and -- as newbie Linux users, especially, find out -- that's problematic, if you're replacing the "system Perl." Now, there is no such thing in MS windows packages, but Xampp's Perl may not be totally stock... or the modules to which you might have to upgrade might not have the tweaks Xampp's packagers introduced.

      Come, let us reason together: Spirit of the Monastery

      Quis custodiet ipsos custodes. Juvenal, Satires

      Strawberry Perl portable is shipped with XAMPP. However their "What's included" link contains a copy and paste error, the version of Strawberry Perl has version number copied from Tomcat.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2014-08-29 05:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls