Re: Simple loop question



Danny wrote:

Following is the code:

#!/usr/bin/perl -w

$upper = 20 ;
$lower = 1 ;
$target = 11 ;

while ( )

--------^^^

I'm very surprised that that compiles
1) at all, and
2) silently even with warnings enabled, and especially
3) even under strictures...

-jp

.