in reply to Re^2: Is modifying the symbol table to redefine subroutines evil?
in thread Is modifying the symbol table to redefine subroutines evil?
{ my $foo_has_been_called; sub foo { if (not $foo_has_been_called) { call_me_only_once(); $foo_has_been_called = 1; } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Is modifying the symbol table to redefine subroutines evil?
by dewey (Pilgrim) on Apr 12, 2007 at 02:06 UTC |