RE: passing database data to a sub
- From: cclarkson@xxxxxxxxxx (Charles K. Clarkson)
- Date: Mon, 18 Apr 2005 00:58:29 -0500
Hawkes, Mick I <mailto:Michael.I.Hawkes@xxxxxxxxxxxxxxxx> 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
.
- References:
- RE: passing database data to a sub
- From: Mick I Hawkes
- RE: passing database data to a sub
- Prev by Date: RE: passing database data to a sub
- Next by Date: last question on the switch statement ....
- Previous by thread: RE: passing database data to a sub
- Next by thread: Re: passing database data to a sub
- Index(es):
Relevant Pages
|