Skip to content

Instantly share code, notes, and snippets.

@colomon
Created June 2, 2013 21:23
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save colomon/5695031 to your computer and use it in GitHub Desktop.
sub register-to-rmdir($path) {
state @paths;
@paths.push($path);
END { for @paths -> $path { rmdir $path } }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment