summaryrefslogtreecommitdiff
path: root/regress/base/string.pl
blob: 03bb9c534dc973680d4ac2aa76ed39f44bf37e65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env perl
#-*- perl -*-
#
#  Copyright (C) 2001 Ken'ichi Fukamachi
#   All rights reserved. This program is free software; you can
#   redistribute it and/or modify it under the same terms as Perl itself. 
#
# $FML: string.pl,v 1.4 2001/06/17 09:00:30 fukachan Exp $
#

use strict;
use lib qw(./lib/ ../../cpan/lib);
use FML::Language::ISO2022JP qw(STR2EUC);

my $debug = defined $ENV{'debug'} ? 1 : 0;

for (@ARGV) {
    my $x = &STR2EUC($_);
    print "<$_> -> <$x>\n";
}

exit 0;