*scnr* Update: As you already did below. *slaps-self*{ no strict 'refs'; *{ $class . '::' . $name } = sub { ... }; }
In reply to Re^3: Sub on the fly?
by phaylon
in thread Sub on the fly?
by pileofrogs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |