> 2) You could create a new instance of the other application and run the
> other mode.
>
>   my $other_app = Other::App->new( QUERY => $self->query );
>   return $other_app->run_mode();

You can also rebless the $self into the other class:

    use Some::Other::Module;
    bless $self, 'Some::Other::Module';
    $self->other_run_mode;

This actually works.  Seems somewhat horrible though.


Michael


---
Michael Graham <[EMAIL PROTECTED]>


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to