Skip to content

Instantly share code, notes, and snippets.

@tomcha
Created December 4, 2015 01:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomcha/4c1d93c457e72f11019a to your computer and use it in GitHub Desktop.
Save tomcha/4c1d93c457e72f11019a to your computer and use it in GitHub Desktop.
46
#!/usr/bin/env perl
use strict;
use warnings;
my @num;
@num = (1..1000);
for my $i (@num){
if ($i < 100){
next;
}
print "$i\n";
if($i == 110){
last;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment