There should really be two installations of Perl. One for the OS/sysadmins to use and one for developers/general use.
"hey jim... did you install CGI::Prototype like I asked?"
"yeah".
"I don't think you did it right... web apps still not launching."
"no, really... here's my 'sudo cpan' command showing what got done."
"weird... wonder why the web app isn't seeing it."
See... that's not much better.
| [reply] [Watch: Dir/Any] |
Hah!! And the current situation Apple and Mac users currently find themselves in is so much better? This thread shoots your comment out of the water!! :-)
Sysadmins should know how to keep track of the two. Developers likely not, but then the sysadmins should be helping them out by setting appropriate PATH related environment variables, etc. And really talented developers will pick up the necessary sysadmin skills. So really all you have done is point out that you can't fix stupid.
That still doesn't change that there should be a clean Perl installation that the OS, third party vendors, etc. can use safely and another installation that the developers can have some fun with (i.e. if they break t it doesn't break the Perl used by OS scripts, vendor scripts, etc.).
I mean, if you replace the Bourne Shell binary with the Bash binary on a Solaris system wouldn't you expect to break some things? Then why do you think it's okay to make changes to the OS's Perl installation?
There are conflicting goals at play: a stable, clean Perl installation that the OS, vendors, etc. can rely on and the need for a Perl installation that can be enhanced and upgraded. If you have two (or more) Perl installations then you can have your cake and eat it to. Otherwise, you have to pick.
[ Of course that's ignoring that the cake is a lie! ;-) ]
Elda Taluta; Sarks Sark; Ark Arks
| [reply] [Watch: Dir/Any] |
Hah!! And the current situation Apple and Mac users currently find themselves in is so much better?
Nope, just saying why your so-called "solution" isn't much better. :)
| [reply] [Watch: Dir/Any] |
I'm sorry, but was this intended to be a replay to my node? I made four very specific points, none of which you specifically addressed.
Having a separate installation that is installed by the user for his own use is a good idea (and a best practice, really), but it is not strictly necessary if perl is installed and configured completely correctly.
It's a quite bad idea, IMO, to provide two separate installations out of the box as merlyn points out so humorously. A savvy user should install one's own. A less savvy user either won't mess with the system perl or shouldn't. | [reply] [Watch: Dir/Any] |