Skip to content

Instantly share code, notes, and snippets.

View uname-yang's full-sized avatar
💭
working

YuYang uname-yang

💭
working
View GitHub Profile
@uname-yang
uname-yang / ord_chr.pl
Last active August 24, 2017 02:40
ord() & chr() [Perl]
#!/usr/bin/perl -w
use strict;
my $num=ord 'E';
print "The ASCII is : $num\n";
my $word=chr(69);
print "The word is : $word\n";
#The ASCII is : 69
#The word is : E