On 10/25/07 5:31 AM, "Harald Joerg" <[EMAIL PROTECTED]>
wrote:

> sub respond {
>    # ...du whatever needs to be done in response to the user's request
>    return 'NextPage';
> }

Try:

sub respond {
   my $self = shift;
   return $self->name_to_page('NextPage');
}

Or is there some specific reason that you want to just return a string
instead of an object?

Andrew

-- 

Andrew Gianni - Lead Programmer Analyst
Administrative Computing Services / Computing and Information Technology
University at Buffalo, State University of New York
215 Millard Fillmore Academic Complex, Buffalo, NY 14261-0026
716.645.5332 - AIM: andrewsgianni - http://www.newkenmore.com/agianni


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
cgi-prototype-users mailing list
cgi-prototype-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cgi-prototype-users

Reply via email to