Cody Pendant has asked for the wisdom of the Perl Monks concerning the following question:
I post regularly on boards and the members wanted a way to download and archive the contents.
I've inherited a useful script, which is barely twenty lines, but it requires LWP::userAgent.
A lot of people would like to be able to use this script without having to install Perl.
There's a company that makes a thing called "Perl2EXE" which can make any script into a Windows executable. I did a version of it using that, which was not small, but worked. (It's demo-only ware, and I haven't paid up, but this is just an experiment)
Then I tried to come up with a Mac version. There's such a thing as a runtime file which can be saved from a MacPerl script, but when I tried, the one line "use LWP::UserAgent;" sent me off on a chase through about twenty different modules.
You can't use LWP::UserAgent without various parts of HTTP:: and HTML:: and Exporter.pm and about fifty other things. By the time I'd ferreted through the modules I'd need to include in a special "lib" directory, it would have been easier to just say "Download MacPerl", come back, then run this script.
So do I have a question? Maybe it's
--
Weaselling out of things is important. It's what separates us from the animals ... except the weasel.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Executables
by peschkaj (Pilgrim) on Feb 01, 2002 at 12:53 UTC | |
by cmilfo (Hermit) on Feb 01, 2002 at 15:49 UTC | |
|
Re: Perl Executables
by peschkaj (Pilgrim) on Feb 01, 2002 at 15:53 UTC | |
|
Re: Perl Executables
by axelrose (Scribe) on Feb 01, 2002 at 21:41 UTC | |
by Cody Pendant (Prior) on Feb 01, 2002 at 22:51 UTC |