Skip to content

Instantly share code, notes, and snippets.

@smujohnson
Created September 7, 2013 20:42
Show Gist options
  • Save smujohnson/6479117 to your computer and use it in GitHub Desktop.
Save smujohnson/6479117 to your computer and use it in GitHub Desktop.
use 5.010;
my $string_base = '<img src="%u.jpg" />';
my $start = @ARGV[0];
my $end = @ARGV[1];
for ($start .. $end) {
printf("$string_base\n", $_);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment