Created
March 28, 2011 22:19
-
-
Save dbb/891424 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print '0b01110010 0b01100001 0b01100100' | |
0b01110010 0b01100001 0b01100100 | |
perl -e 'print chr(0b01100001)' | |
a | |
print '0b01110010 0b01100001 0b01100100' | perl -lane 'print $_ for @F' | |
0b01110010 | |
0b01100001 | |
0b01100100 | |
print '0b01110010 0b01100001 0b01100100' | perl -lane 'for (@F) { $s=chr($_); print $s;}' | |
(NO OUTPUT) | |
perl -le '@a=qw(0b01110010 0b01100001 0b01100100); print chr($_) for @a;' | |
(NO OUTPUT) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Probably the first time I've ever been annoyed by dynamic typing.