NAME

Text::FIGlet - a perl module to provide FIGlet abilities, akin to banner

SYNOPSIS

my $font = Text::FIGlet-E<gt>new(-f=>"doh");
$font->figify(-A=>"Hello World");

DESCRIPTION

new

d

Whence to load the font.

Defaults to /usr/games/lib/figlet.dir

f

The font to load.

Defaults to standard

figify

A

The text to transmogrify.

w

The output width, output text is wrapped to this value by breaking the input on whitspace where possible. There are two special width values

-1 the text is not wrapped.
 1 the text is wrapped after very character.

NOTE: This currently broken, it wraps to width but breaks on the nearest input character, not necessarily whitespace.

Defaults to 80

EXAMPLES

perl -MText::FIGlet -e 'print Text::FIGlet->new()->figify(-A=>"Hello World")'

ENVIRONMENT

Text::FIGlet will make use of these environet variables if present

FIGFONT

The default font to load. It should reside in the directory specified by FIGLIB.

FIGLIB

The default location of fonts.

FILES

FIGlet font files, these can be found at

http://st-www.cs.uiuc.edu/users/chai/figlet.html
http://www.internexus.net/pub/figlet/
ftp://wuarchive.wustl.edu/graphics/graphics/misc/figlet/
ftp://ftp.plig.org/pub/figlet/

SEE ALSO

figlet

CAVEATS

$/ is used to
split incoming text into seperate lines.
item create the output string
item parse the font file

Consequently, make sure it is set appropriately i.e.; Don't mess with it, perl sets it correctly for you.

AUTHOR

Jerrad Pierce <belg4mit@mit.edu>/<webmaster@pthbb.rg>