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."
In reply to Re^5: defining methods on the fly
by revdiablo
in thread defining methods on the fly
by flogic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |