Re: Calling a object method in a create()

2008-07-14 Thread Valter Douglas Lisbôa Jr.
Thanks, it worked! On Monday 14 July 2008 12:41:28 Jerry D. Hedden wrote: > Valter Douglas Lisbôa Jr. wrote: > > The code bellow functions very nice. > > > > - > > while(my ($id, $ep, $local, $tolerance, $lasterr, $hostscount) = > > $sthLocals->fetchrow_array()) { > > $self->

Re: Calling a object method in a create()

2008-07-14 Thread Jerry D. Hedden
Valter Douglas Lisbôa Jr. wrote: > The code bellow functions very nice. > > - > while(my ($id, $ep, $local, $tolerance, $lasterr, $hostscount) = > $sthLocals->fetchrow_array()) { > $self->localPolling($id, $ep, $local, $tolerance, $lasterr, $hostscount); > } > -

Calling a object method in a create()

2008-07-14 Thread Valter Douglas Lisbôa Jr.
Hi all, I new on threads, but not so on perl. I trying to execute a thread inside a object method of a class that I make to consult SNMP quests and feed a rrddatabase. The code bellow functions very nice. - while(my ($id, $ep, $local, $tolerance, $lasterr, $hostscount) = $