in reply to Re^4: defining methods on the fly
in thread defining methods on the fly
The following modification does not assign to a glob.
Apologies if I'm misunderstanding something here, but isn't the following code assigning to a glob?
*{$package . "::" . $name} = sub :lvalue {
Update: Thanks for the reply -- I was indeed "misunderstanding something here."
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: defining methods on the fly
by jdhedden (Deacon) on Aug 05, 2006 at 01:57 UTC |
In Section
Meditations