in reply to Re^2: Subclassing a class that uses an internal dispatch table
in thread Subclassing a class that uses an internal dispatch table
Is there something I'm missing? This is very similar to what SQL::Parser does and it's pretty successful.# Sanitize $cmd here if you want. Maybe you go against a list of a +cceptable # commands that's accessible via $self->add_command( 'cmd1' ); my $method = $self->can( $cmd ); $self->$method( @args ) if $method;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Subclassing a class that uses an internal dispatch table
by BrowserUk (Patriarch) on Oct 30, 2007 at 21:16 UTC | |
by dragonchild (Archbishop) on Oct 30, 2007 at 22:57 UTC | |
by BrowserUk (Patriarch) on Oct 30, 2007 at 23:28 UTC |