++ed by:
XLAT
1 non-PAUSE user
Author image Yuji Shimada

NAME

Win32::Unicode::Console - Unicode string to console out

SYNOPSIS

  use Win32::Unicode::Console;

  my $flaged_utf8_str = "I \x{2665} Perl";

  printW $flaged_utf8_str;
  printfW "[ %s ] :P", $flaged_utf8_str;
  sayW $flaged_utf8_str;
  warnW $flaged_utf8_str;
  dieW $flaged_utf8_str;

  # write file
  printW $fh, $str;
  printfW $fh, $str;
  sayW $fh, $str;

DESCRIPTION

Win32::Unicode::Console provides Unicode String to console out.

This module PerlIO-proof. However, when the file is redirected to the CORE:: print and CORE:: warn switches.

FUNCTIONS

printW([$fh ,] @str)

Flagged utf8 string to console out. Like print.

printfW([$fh ,] @str)

Flagged utf8 string to console out. Like printf.

sayW([$fh ,] @str)

Flagged utf8 string to console out. Like Perl6 say.

warnW(@str)

Flagged utf8 string to console out. Like warn.

dieW(@str)

Flagged utf8 string to console out. Like die.

AUTHOR

Yuji Shimada <xaicron@cpan.org>

SEE ALSO

Win32::Unicode::File

Win32::Unicode::Error

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.