in reply to Re: Sub on the fly?
in thread Sub on the fly?
However, that would only work if you were within the blork package, so if you wanted to install the method from main:: then this *blork::foo = sub { ... } is more approriate.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Sub on the fly?
by phaylon (Curate) on Aug 17, 2006 at 15:41 UTC |