in reply to Re: Don't blindly recommend code
in thread Don't blindly recommend code

Well, in some cases I could understand not wanting to rely on modules so that the program is easier to install. Such as Date::Calc and the like who have compile-necessary parts, as well as a few others that simply have huge (or hugely complicated) installations. For the other (more common), less complicated modules, you could just bundle the modules you require with yours and have your install script install the needed modules as well (if they're not already there). They might not get the most recent version but it's sure to work.

I simply cannot agree, however, that one should avoid dependance upon modules bundled with the core distrubution of Perl (CGI, etc). There are few (if any) Perl installs that will be lacking these most basic of modules and there are many very useful modules bundled with Perl.

Anyway, I just had to say that as I'm always leery when I see people arguing, "Well, I figured it would be easier to install if I didn't rely on modules... So I wrote my own CGI parsing code."

Just my $0.02 -- Oh! I'm sorry, do you have change for a nickel?

bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.

  • Comment on (bbfu) (Re: Not depending on modules) Re: Don't blindly recommend code