On Wed, May 09, 2007 at 07:03:30PM -0400, Jim Doherty wrote: > Sorry, I have no idea what ubuntu policy is. But good defensive > scripting practice includes setting your $PATH to something safe. A > good script should always not trust the environment it was handed along > with many other things that people don't always do.
I have to disagree. The environment is precisely the tool available to users to change the behavior of your script externally. It's not nice to stomp on user preferences. The original problem is user error. Installing an upgraded perl in /usr/local without installing all of the needed perl libraries or removing /usr/local/bin from the default system PATH is incorrect usage. Don't break features to avoid user error, please. -Forest
signature.asc
Description: Digital signature
-- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss