__PACKAGE__ 3rd Camel, page 68, Literals....
http://danconia.org ------------------------------------------------ On Tue, 21 Jan 2003 08:15:09 -1000, "Beau E. Cox" <[EMAIL PROTECTED]> wrote: > Hi - > > How do I get the current package name? For example, > if I have a module that starts with: > > package Beau::Cool::Stuff; > ... > > and I want to give an error (die) later in this module: > > ... > die "invalid stuff passed to Beau::Cool::Stuff::function\n"; > ... > > where is the 'package name variable' so I don't > have to type 'Beau::Cool::Stuff' all over the place? > > Aloha => Beau; > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]