Skip to content

Instantly share code, notes, and snippets.

@kenjiskywalker
Created April 5, 2012 15:43
Show Gist options
  • Save kenjiskywalker/2312038 to your computer and use it in GitHub Desktop.
Save kenjiskywalker/2312038 to your computer and use it in GitHub Desktop.
pp4th
#!/usr/bin/env perl
use strict;
use warnings;
use v5.14;
my @hoge = qw( one two three two one two three );
for (@hoge) {
say "$_" if /two/;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment