#!/usr/bin/env perl use utf8; use Utils; use strict; use warnings; MAIN: { binmode(STDOUT, ":utf8"); binmode(STDERR, ":utf8"); binmode(STDIN, ":utf8"); foreach my $arg (@ARGV) { utf8::decode($arg); } # Print out the command line arguments for (my $i = 1; $i <= scalar(@ARGV); ++$i) { print $i, ":", $ARGV[$i - 1], "\n"; } }