For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > January 2005 > Perl on Windows









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Perl on Windows
Adam Smith

2005-01-21, 8:56 pm

Hello,

Could anyone advise on HOW TO set up and run Perl scripts on windows,
and is it possible to run them as "standalones" without a server / browser

Thanks

-- Adam --
A. Sinan Unur

2005-01-21, 8:56 pm

Adam Smith <adamsmith@econ.com> wrote in
news:8cudnR-XYvkdx2zcRVn-gA@speakeasy.net:

> Could anyone advise on HOW TO set up and run Perl scripts on windows,


My preferred distribution is ActiveState's ActivePerl. You can download
the latest version from:

http://www.activestate.com/Products/ActivePerl/

> and is it possible to run them as "standalones" without a server /
> browser


Yes. The installation will ask to set up file associations for you. If you
also add the extension you will be using for your scripts, such as .pl or
..plx to the PATHEXT variable, you can run scripts in your path without
typing their extensions.

If you are not going to do any CGI programming, you will not need to set
up a web server. However, if there is even the remotest possibility, you
can get the Windows version of apache from http://httpd.apache.org/.

Sinan.

Sherm Pendley

2005-01-21, 8:56 pm

Adam Smith wrote:

> Could anyone advise on HOW TO set up and run Perl scripts on windows,


<http://www.activestate.com>

> and is it possible to run them as "standalones" without a server / browser


For help on getting started with Perl, have a look at:

<http://learn.perl.org>

If you haven't done so already, please read the posting guidelines that
appear here twice a w. Lots of pointers and tips there.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Jürgen Exner

2005-01-22, 3:55 am

Adam Smith wrote:
> Could anyone advise on HOW TO set up


No idea how you would set up a script.

> and run Perl scripts on windows,


Just install a Perl interpreter. The most common an convenient version is
probably ActivePerl from ActiveState
(http://activestate.com/Products/ActivePerl/)

> and is it possible to run them as "standalones" without a server /
> browser


Aehmmm, "standalone" _is_ the normal way to run a Perl program.

jue


JRBTech

2005-01-22, 3:56 pm

Bah.
Go here, its free and works very well. I wrote a review on it for you today.
I think many people will ask the same question.....Active Perl isnt free.


http://www.jrbtech.com/index.php/co...www.jrbtech.com

"Adam Smith" <adamsmith@econ.com> wrote in message
news:8cudnR-XYvkdx2zcRVn-gA@speakeasy.net...
> Hello,
>
> Could anyone advise on HOW TO set up and run Perl scripts on windows, and
> is it possible to run them as "standalones" without a server / browser
>
> Thanks
>
> -- Adam --



A. Sinan Unur

2005-01-22, 3:56 pm

"JRBTech" <jrbtech-at@gmail.com> wrote in
news:W-WdnUkXep_KyG_cRVn-pQ@adelphia.com:

[ You top-posted and put the text of the message below the signature
separator. Good newsreaders get rid of anything below the signature
separator when replying. Please do not top post and format your
replies properly. ]


> "Adam Smith" <adamsmith@econ.com> wrote in message
> news:8cudnR-XYvkdx2zcRVn-gA@speakeasy.net...
[color=darkred]
> Bah.


Bah what?

> Go here, its free and works very well. I wrote a review on it for you
> today. I think many people will ask the same question


Then they will be better served by going to

http://www.cpan.org/ports/#win32

> ... Active Perl isnt free.


Hmmm ... From <http://www.activestate.com/Products/ActivePerl/?_x=1>:

ActivePerl is ActiveState's quality-assured, ready-to-install
distribution of Perl, available for Linux, Solaris, and Windows.
As part of ActiveState's support for Perl, we provide the
ActivePerl distribution free to the community.

People may prefer one binary distribution over another. Nothing wrong
with that.

> http://www.jrbtech.com/index.php/co...indigoperl_run_

perl_on_windows_for_free

Not worth the paper it is printed on. There is absolutely no information
on the advantages of IndigoPerl relative to other binary distributions.

Sinan
Jürgen Exner

2005-01-22, 3:56 pm

[Don't top post]
[Don't full quote]

JRBTech wrote:
> [...] Active Perl isnt free.


What gave you that idea? It most certainly is free.

jue


Alan J. Flavell

2005-01-22, 3:56 pm


On Sat, 22 Jan 2005, JRBTech blurted out, without the
customary courtesy of citation and context:

> Bah.


Indeed. Posting, without further comment, to a newsgroup
(comp.lang.perl) which was officially phased-out years ago, does not
bode well for the accuracy of anything else you might have to say to
the hon Usenauts.

> Go here,


To recommend Indigoperl, wouldn't it be better to refer to here?
- http://www.indigostar.com/indigoperl.htm

> its free and works very well. I wrote a review on it for you today.


What's wrong with usenet? It looks as if you don't know how to use
it yet.

> I think many people will ask the same question.....


What same question?

> Active Perl isnt free.


- From the ActivePerl license:

| You may use this Package for commercial or non-commercial purposes
| without charge.

- From the Indigoperl license:

| You may use IndigoPerl for commercial or non-commercial purposes
| without charge.

Would you care to take us through the differences which you perceive
in their respective licenses?
[color=darkred]
>... /index.php/codecenter/2005/01/22/ indigoperl_run_perl_on_windows_for_free[
/color]

Come off it. It looks as if you're trying to promote a specific
discussion forum, not really to help anyone with their choice of Perl
distributions. That cited URL can be summarised as "we installed it
on one laptop and it works". Well, so it does, but you could safely
have said that here too.

Both are respectable and useful distributions. Of course there's also
Cygwin Perl ;-)

The benefits of IndigoPerl, particularly for a beginner who has web
usage in mind, are in areas which you haven't even mentioned - being
bundled with Apache, mod_perl etc. But I don't see anything wrong
with the other options.

[ f'ups set ]
Bill Segraves

2005-01-22, 3:56 pm

"Adam Smith" <adamsmith@econ.com> wrote in message
news:8cudnR-XYvkdx2zcRVn-gA@speakeasy.net...
> Could anyone advise on HOW TO set up and run Perl scripts on windows,


One way, already mentioned: IndigoPerl, available free from
www.indigostar.com.

> and is it possible to run them as "standalones" without a server /

browser?

Yes.
--
Bill Segraves




Kendall K. Down

2005-01-22, 3:56 pm

In message <8cudnR-XYvkdx2zcRVn-gA@speakeasy.net>
Adam Smith <adamsmith@econ.com> wrote:

> Could anyone advise on HOW TO set up and run Perl scripts on windows,
> and is it possible to run them as "standalones" without a server / browser


I'm very much a newbie to Perl and I've found Optiperl is fine - a slight
fiddle to set up, but it appears to work well. I got it off a magazine cover
CD, it may be available for free download somewhere.

Ken Down

--
================ ARCHAEOLOGICAL DIGGINGS ===============
| Australia's premiere archaeological magazine |
| http://www.diggingsonline.com |
========================================
================
Matt Garrish

2005-01-24, 8:56 pm


"JRBTech" <jrbtech-at@gmail.com> wrote in message
news:W-WdnUkXep_KyG_cRVn-pQ@adelphia.com...
>
> Active Perl isnt free.
>


Really? Care to elaborate?

Matt


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com