|
From: Andrew G. <ag...@bu...> - 2007-10-25 13:51:48
|
On 10/25/07 5:31 AM, "Harald Joerg" <har...@fu...>
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
|