RE: Current package name

2003-01-21 Thread Bob Showalter
Beau E. Cox 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"; ... >

RE: Current package name

2003-01-21 Thread Beau E. Cox
__THANKS__ ;) > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 21, 2003 8:27 AM > To: Beau E. Cox; 'Beginners > Subject: RE: Current package name > > > __PACKAGE__ > > 3rd Camel, page 68, Li

Re: Current package name

2003-01-21 Thread Janek Schleicher
On Tue, 21 Jan 2003 08:15:09 +, Beau E. Cox wrote: > How do I get the current package name? For example, > if I have a module that starts with: It's in __PACKAGE__ Greetings, Janek -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Current package name

2003-01-21 Thread wiggins
__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: