Re: Need help with a simple (I think) Perl script
- From: Gunnar Hjalmarsson <noreply@xxxxxxxxx>
- Date: Fri, 30 May 2008 04:16:56 +0200
szr wrote:
Gunnar Hjalmarsson wrote:szr wrote:Gunnar Hjalmarsson wrote:Well, I for one wouldn't say "pure Perl module" about a module that'sBill H wrote:There are some modules, even pure Perl ones, that might have aThe other suggestion of installing this or using that module, notSometimes when people say "can't" install this or that module, they
everyone who is programming in perl for cgi has their own server or
has the ability of adding new modules to the server (fortunatly I
do) and have to work within the capabilities of the system they are
running on. So if they post a problem and there is a solution that
wouldn't require them installing a module, recommend it, instead of
just saying use blah::blah.
actually mean "don't know how to". For instance, I have never heard
of a situation when a pure Perl module can't be installed, in one
way or another. So encouraging people to learn how to make use of
modules is usually the right thing to do.
dependency on something that isn't installed, and the user is not
able to install said dependency.
dependent on a non-core XS module.
Where did I say XS module? I meant even a pure Perl module could still require some facility on the system.
Ok, you are right, any kind of dependency may prevent a module from working.
OTOH, the point I was trying to make is that non-module solutions to presented problems should be a last resort, when suitable modules exist. Hope you can agree to that. :)
Or one doesn't have shell access or theYou don't need shell access to install a pure Perl module. Sure, you
hosting account uses a Windows server (and most don't give you any
sort of shell or remote desktop access.)
can't install it "the right way", but uploading a .pm file to a
suitable folder with e.g. FTP and adding a "use lib" statement is
always possible.
Yes, but that can still be problematic with certain kinds of hosting setups (again, Windows setups would fall into that category.)
What kinds of setups are you thinking of? It certainly does not apply to all Windows ditto.
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
.
- Follow-Ups:
- References:
- Need help with a simple (I think) Perl script
- From: *** Sutton
- Re: Need help with a simple (I think) Perl script
- From: A. Sinan Unur
- Re: Need help with a simple (I think) Perl script
- From: *** Sutton
- Re: Need help with a simple (I think) Perl script
- From: Lawrence Statton
- Re: Need help with a simple (I think) Perl script
- From: Ted Zlatanov
- Re: Need help with a simple (I think) Perl script
- From: A. Sinan Unur
- Re: Need help with a simple (I think) Perl script
- From: Ben Bullock
- Re: Need help with a simple (I think) Perl script
- From: Bill H
- Re: Need help with a simple (I think) Perl script
- From: Gunnar Hjalmarsson
- Re: Need help with a simple (I think) Perl script
- From: szr
- Re: Need help with a simple (I think) Perl script
- From: Gunnar Hjalmarsson
- Re: Need help with a simple (I think) Perl script
- From: szr
- Need help with a simple (I think) Perl script
- Prev by Date: Re: FAQ 5.12 How can I open a filehandle to a string?
- Next by Date: Re: Need help with a simple (I think) Perl script
- Previous by thread: Re: Need help with a simple (I think) Perl script
- Next by thread: Re: Need help with a simple (I think) Perl script
- Index(es):