pcouderc has asked for the wisdom of the Perl Monks concerning the following question:
My print sometimes work, othertime gives me : 187 0 as if I do not go inside FillListe Help, please Pierre Couderc#!/usr/bin/perl # use strict; use CGI; use DBI; #-----------------------------Variables communes my %IndexClient; my @row; #.... #---------------------------------------- # FillListe( $Indx, $Ref, $Ville,$Tel,$TypeClient) my $dbgfill=0; sub FillListe { $dbgfill++; my $Indx = $IndexClient{$_[0]}; #... } #---------- Sortie des en tetes print "Content-type: text/html\n"; print "\n"; #... my $ligcnt; while ( @row = $cursor->fetchrow ) { FillListe($NumClient,$Ref,$row[2], $row[1],@row[3]); $NumeroClient[$IndexClient{$NumClient}]=-1; $ligcnt++; } $cursor->finish; print "<P> $ligcnt $dbgfill</P>";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sub not executed
by tall_man (Parson) on Feb 10, 2003 at 19:44 UTC | |
|
Re: sub not executed
by dws (Chancellor) on Feb 10, 2003 at 20:18 UTC | |
by Fletch (Bishop) on Feb 10, 2003 at 20:35 UTC | |
by pcouderc (Monk) on Feb 12, 2003 at 09:24 UTC |