File: 00100_can_binmode.t

package info (click to toggle)
libtext-unidecode-perl 1.30-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,236 kB
  • sloc: perl: 3,878; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- coding:utf-8; mode:CPerl -*-
use strict; use warnings; use Test; 
print q[# //Time-stamp: "2014-06-17 23:16:40 MDT sburke@cpan.org"], "\n";

BEGIN {plan tests => 5;}

print "# Hello:\n";
ok 1;

print "# Testing: binmode(*STDOUT, ':utf8') ...\n";
ok                binmode(*STDOUT, ':utf8');

print "# Testing: binmode(*STDERR, ':utf8') ...\n";
ok                binmode(*STDERR, ':utf8');

print "# Testing: binmode(*STDIN,  ':utf8') ...\n";
ok                binmode(*STDIN,  ':utf8');


print "# Bye:\n";
ok 1;