in reply to Re: Code optomization
in thread Code optomization
The actual warning:for ($3) { /transparent/ && $info{clear} == 1 && do {$use_this = 1; last;}; /anonymous/ && $info{anonymous} == 1 && do {$use_this = 1; last;}; /highanonymity/ && $info{spranonymous} == 1 && do {$use_this = 1; + last;}; }
Using common sence i'm assuming that its raising an issue whenever only one of the 3 are matched. Would it be easier to use if/then statements?Use of uninitialized value in pattern match (m//) at ./ProxyHunter.pl +line 93.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Code optomization
by sgifford (Prior) on Jul 08, 2004 at 21:18 UTC | |
by Roy Johnson (Monsignor) on Jul 08, 2004 at 21:31 UTC | |
by sock (Monk) on Jul 08, 2004 at 21:30 UTC | |
by sgifford (Prior) on Jul 09, 2004 at 04:46 UTC |