Skip to content

Instantly share code, notes, and snippets.

@dvnmk
Created September 15, 2015 16:03
Show Gist options
  • Save dvnmk/6120a1a995e8e7fc55d0 to your computer and use it in GitHub Desktop.
Save dvnmk/6120a1a995e8e7fc55d0 to your computer and use it in GitHub Desktop.
probe.pl
pi@startx ~ $ cat probe.pl
#!/usr/bin/perl
$file_name = "tex.txt";
open(TEXT, $file_name);
$out_string = <TEXT>;
close (TEXT);
@ascii_character_numbers = unpack("C*", "$out_string");
print "@ascii_character_numbers\n";
#exit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment