Created
August 11, 2011 23:01
-
-
Save jadeallenx/1141021 to your computer and use it in GitHub Desktop.
Perl unicode
This file contains hidden or 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
#!/usr/bin/env perl | |
use warnings; | |
use strict; | |
use v5.14; | |
use utf8; | |
my $number = "௪"; | |
my $letter = "த்"; | |
say "$number matched" if $number =~ /\d/; | |
say "$letter matched" if $letter =~ /\d/; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment