Skip to content

Instantly share code, notes, and snippets.

@likhatskiy
Created December 29, 2009 13:43
Show Gist options
  • Save likhatskiy/265318 to your computer and use it in GitHub Desktop.
Save likhatskiy/265318 to your computer and use it in GitHub Desktop.
hex sequence of string
join '', map { sprintf "%2x", ord } $str =~ /./g;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment