in reply to Increment frequency of attempts based on IP and login details combination
is unneeded and error prone because reveals the absence of use strict; use warnings; In fact in a more concise, more robust, less error prone way you can say:$ip = ""; $port = ""; $usr = ""; $port = ""; $status = ""; $frequency = 0;
my ($ip,$port,$port,$status,$frequency);
Read this post to understand why. In Perl, given your variable declaration, you can freely do the following:
#string? #number? #add to string? #concatenate to numb +ers? my $ip=""; my $freq = 0; $ip++; $freq.="still no data +";
L*
|
|---|