[Chicago-talk] lowercase package names

Steven Lembark lembark at wrkhors.com
Wed Aug 24 04:51:54 PDT 2005

-- Jim Thomason <thomasoniii at gmail.com>

> Okay, you piqued my curiousity. Care to share why you need a
> lowercased package name?
> AFAIK, lowercase package names are pragmas by convention, but (like
> damn near everything else in the language) isn't actually enforced in
> any fashion.

Convention onl.

The restriction on package names is

    __PACKAGE__ =~ /^\w+$/;

and the module has to be named __PACKAGE__ . '.pm'
for loading via require.

Steven Lembark                                       85-09 90th Street
Workhorse Computing                                Woodhaven, NY 11421
lembark at wrkhors.com                                     1 888 359 3508

More information about the Chicago-talk mailing list