The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Acme::SuddenlyDeath - ASCII Art of sudden death (突然の死) generator

SYNOPSIS

  use Acme::SuddenlyDeath;

  print sudden_death('突然の死')."\n"
  # outputs =>
  #   _人人人人人_
  #   > 突然の死 <
  #    ̄^Y^Y^Y^Y^ ̄
  print sudden_death("突然の\n死")."\n"
  # outputs =>
  #   _人人人人_
  #   > 突然の <
  #   >   死   <
  #    ̄^Y^Y^Y^ ̄
  print sudden_death_single('突然の死')."\n"
  # outputs =>
  #   _人人人人人_> 突然の死 < ̄^Y^Y^Y^Y^ ̄

DESCRIPTION

Acme::SuddenlyDeath generate the ASCII Art of sudden death from any strings. If you would like to know about sudden death, please refer to the following web site (Japanese Web Site). http://dic.nicovideo.jp/a/%E7%AA%81%E7%84%B6%E3%81%AE%E6%AD%BB

METHODS

sudden_death

This method needs a string as parameter. It returns multiple line ASCII art of 'sudden death' which was generated from string.

sudden_death_single

This method needs a string as parameter. It returns one line ASCII art of 'sudden death' which was generated from string.

suddenly_death
suddenly_death_single

These methods are similar to the sudden_death and sudden_death_single. However, this method decodes the parameter using Encode::decode_utf8 and encodes the output using Encode::encode_utf8.

AUTHOR

papix <mail@papix.net>

DEPENDENCIES

Text::VisualWidth 0.02 or later.

LICENSE

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