"John W. Krahn" wrote:
> 
> Try this example to see if it does what you want:
> 
> #!/usr/bin/perl -w
> use strict;
> 
> my $count;
> START:
> for my $var ( 1 .. 4 ) {
>     print "$var ";
>     last if ++$count > 20;
>     goto START if $_ == 3;

This line _should_ be:

      goto START if $var == 3;

>     }
> print "\n";
> 
> __END__



John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to