Mega Code Archive
Categories
/
Perl
/
String
Find the characters value by using the ord() function
#!/usr/bin/perl use warnings; print"A # has ASCII value ", ord("#"),"\n"; print "A * has ASCII value ", ord("*"),"\n";