"Christopher S. Hyne" wrote:
> 
 I'd like
> to be able to have run modes that instead of returning output, perform some
> action and then call on a second run mode which returns the output.

does this work?: 

sub my_run_mode {
        my $self = shift;

        # perform some action

        return $self->other_run_mode;
}

In this case, I think other_run_mode will return no headers to
my_run_mode, which will return the output with one set of headers. 

  -mark



 . . . . . . . . . . . . . . . . . . . . . . . . . .
   Mark Stosberg              Principal Developer  
   [EMAIL PROTECTED]       Summersault, LLC     
   v: 765-939-9301 ext 223    website development  
 . . . . . http://www.summersault.com/ . . . . . . .

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to