in reply to a few basic questions
can't help with the last two questions (not sure what you mean with the second), but here's the first one:
This will only print when $counter is even...my $counter = 0; while(1) { print "Got an even number\n" if(($counter++%2) == 0); }
|
---|
In Section
Seekers of Perl Wisdom