Hawkes, Mick I <mailto:[EMAIL PROTECTED]> wrote:
: [Charles] said: : : Second, GetOfficers() is called as a subroutine, not as a method : of an object. But it is written as an object method. Try this. : $template->param( db_loop => $self->GetOfficers() ); : : I'm not sure of the difference, why isn't it a subroutine? I not : completely sure about this 'shift' thing anyway :-) Read the 'A Method is Simply a Subroutine' section of 'perlobj'. HTH, Charles K. Clarkson -- Mobile Homes Specialist 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>