-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
u-punctation
executable file
·64 lines (39 loc) · 937 Bytes
/
u-punctation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/usr/bin/perl
# vim:ft=perl:
# abstract: unicode punctation
use vars qw($VERSION);
my $APP = '';
$VERSION = '0.001';
use strict;
use Data::Dumper;
no warnings;
{
package Data::Dumper;
no strict 'vars';
$Terse = $Indent = $Useqq = $Deparse = $Sortkeys = 1;
$Quotekeys = 0;
}
use charnames qw(:full);
for my $ord ( 0 .. 0x10ffff ) {
next unless chr($ord) =~ /[[:punct:]]/;
printf("%6d, %6x: %s %s\n", $ord, $ord, chr($ord), charnames::viacode($ord));
}
=pod
=head1 NAME
=head1 SYNOPSIS
=head1 DESCRIPTION
=head1 OPTIONS
=head1 AUTHOR
Magnus Woldrich
CPAN ID: WOLDRICH
http://japh.se
=head1 REPORTING BUGS
Report bugs on rt.cpan.org or to [email protected]
=head1 COPYRIGHT
Copyright (C) 2011 Magnus Woldrich. All right reserved.
This program is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=cut
1;
# vim: set ts=2 et sw=2: