On Wednesday, Sep 18, 2002, at 06:18 US/Pacific, pravesh biyaNI wrote:
> pravesh biyaNI wrote: > >> Use of uninitialized value in concatenation (.) or string at log.pl >> >> line no 17 is a for loop >> >> >> for ($i =0; $i < $ line_number ; ++ $ i) >> >> the value of line_number is 1000 [..] two sets of thing a) you will need to check inside that for loop since the perl error message is about that 'block' for ($i =0; $i < $ line_number ; ++ $ i) { .....} as if it were viewd like thta b) you might want to make that $line_number just for safety sake also the ++$i Unless you have 'declared' that $i else where it would be a reasonable idea to go with die "Line number not set \n" unless ( $line_number and $line_number > 0 ); for ( my $i = 0 ; $i < $line_number ; $i++ ) { # our iterated stuff here } ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]