in reply to Library file or module for sharing code?

I vote for option 2. This way the namespace of your scripts doesn't get polluted and anyone looking at your scripts know where the function call is coming from. The only drawback is a little more typing. I would probably call the function like this though.
$name = Common::get_uppercase($name)
Since it really isn't a class.

Replies are listed 'Best First'.
Re^2: Library file or module for sharing code?
by kwaping (Priest) on Dec 27, 2005 at 23:58 UTC
    I agree with this post (no ++ votes left today).