in reply to Re: Refactor method calls or not?
in thread Refactor method calls or not?
use Carp; ... my %tables; @tables{ qw/foo bar/ } = (); sub ... { ... croak 'Disallowed table' unless exists $tables{$table); ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Refactor method calls or not?
by perrin (Chancellor) on Jan 19, 2002 at 01:13 UTC |