Skip to content

Instantly share code, notes, and snippets.

@SpringMT
Created March 10, 2011 17:00
Show Gist options
  • Select an option

  • Save SpringMT/864460 to your computer and use it in GitHub Desktop.

Select an option

Save SpringMT/864460 to your computer and use it in GitHub Desktop.
ハッシュを与えると文字列
perl -MString::ShellQuote -E 'my $i = say shell_quote map { ++$i % 2 ? "--$_" : $_ } (foo => 42, bar => "a b c")'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment