[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: package location awareness?
- From: PA <petite.abeille@...>
- Date: Wed, 2 Feb 2005 00:52:55 +0100
Perusing through PIL's chapter 15.3 - Packages and Files, I stumbled
upon _REQUIREDNAME. How is that used? I don't seem to be able to access
it one way or another. Always get nil.
For example, in the following 'class', which is defined as a package of
sort, _REQUIREDNAME always evaluate to nil:
What am I doing wrong? Do I need to define something else?
More generally, is there a straightforward way to figure out in which
file (including its full path) a given package is defined?
PA, Onnay Equitursay