Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

mako132 (2925)

Journal of mako132 (2925)

Saturday March 16, 2002
11:14 AM

Seems I've written this code before...

[ #3592 ]

Somehow I have this idea of keeping my own personal module, so that I never have to duplicate code again. Eventually I migrate code out to production modules.

use Mako132 qw/:database/;

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I have lots of private modules starting with "SMB", my initials. Later, people started putting SMB modules in CPAN, but there "SMB" standing for "Samba". This always confuses me when I look at CPAN and see an "SMB" directory; I think I've goofed up and somehow released my private modules.

    So I hereby suggest: name your private modules with a leading "_". "use _SMB::Foo", etc.