in reply to While loops with if
while (1) { my @chars = ( "A" .. "Z", "a" .. "z", 0 .. 9, qw(! @ $ % ^ & *) ); if ($usedpw ne m/$pw/); { print "Your unique password is: $pw\n"; } }
Well, there are a few problems.
There's no semi-colon.if ( $foo == 1 ) { $bar++; }
|
|---|