Skip to content

Instantly share code, notes, and snippets.

@LCamel
Created November 25, 2011 01:46
Show Gist options
  • Save LCamel/1392632 to your computer and use it in GitHub Desktop.
Save LCamel/1392632 to your computer and use it in GitHub Desktop.
for h4 ...
$_ = 'h' x 49 . '4' x 7;
while (/4/) {
$h = int(rand(49));
print $h + s/4//, "\n" if (s/(?<=^.{$h})h/./);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment