k2 has asked for the wisdom of the Perl Monks concerning the following question:
if ($if_name eq $outside_if && $if_dir eq 'inbound') { if (my $service eq 'mail') { my $smtp_inc_src_cnt{$src} ++; my $smtp_inc_dst_cnt{$dst} ++; my $smtp_inc_tot ++; } }
The code is run under use strict...syntax error at D:\perltmp\statpdf2.pl line 49, near "$smtp_inc_src_cn +t{" syntax error at D:\perltmp\statpdf2.pl line 49, near "++;" syntax error at D:\perltmp\statpdf2.pl line 50, near "$smtp_inc_dst_cn +t{" syntax error at D:\perltmp\statpdf2.pl line 50, near "++;" syntax error at D:\perltmp\statpdf2.pl line 54, near "}"
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Autoincrement errors...
by VSarkiss (Monsignor) on Dec 02, 2001 at 02:56 UTC | |
Re: Autoincrement errors...
by Chmrr (Vicar) on Dec 02, 2001 at 02:57 UTC | |
Re: Autoincrement errors...
by k2 (Scribe) on Dec 02, 2001 at 14:32 UTC |