Skip to content

Instantly share code, notes, and snippets.

@lahmatiy
Created July 5, 2013 13:38
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 lahmatiy/5934584 to your computer and use it in GitHub Desktop.
Save lahmatiy/5934584 to your computer and use it in GitHub Desktop.
var ids = String(
this.req.param('id') ||
this.req.param('ids')
).match(/(\d+)/g);
my @ids = (
$self->req->param('id') ||
$self->req->param('ids')
) =~ /(\d+)/g;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment