2008-03-19から1日間の記事一覧
#!/usr/bin/perl use strict; use warnings; { use utf8; my $res = ('123' =~ /^\d+$/) ? "match" : "unmatch"; print "use utf8 ... $res\n"; } { no utf8; my $res = ('123' =~ /^\d+$/) ? "match" : "unmatch"; print " no utf8 ... $res\n"; } こ…