![]() |
![]()
| ![]() |
![]()
NAMEText::FIGlet::Control - control file support for Text::FIGlet SYNOPSISuse Text::FIGlet; my $flc = Text::FIGlet->new(-C=>'upper.flc'); print $flc->tr("Hello World"); DESCRIPTIONText::FIGlet::Control uses control files, which tell it to map certain input characters to certain other characters, similar to the Unix tr command. Control files can be identified by the suffix .flc. Most Text::FIGlet::Control control files will be stored in FIGlet's default font directory. The following control file commands are supported, for more detail see figfont.txt included with this distribution.
OPTIONS"new"
"tr"
ENVIRONMENTText::FIGlet::Control will make use of these environment variables if present
FILESFIGlet control files are available at ftp://ftp.figlet.org/pub/figlet/ CAVEATSThere is a mystery bug in perls 5.6.1 and 5.6.2 which can cause seemingly simple transliterations to fail. The standard figlet(1) upper.flc is an example of such a transliteration. For this reason, the enclosed upper.flc uses a "freeze" after the ASCII swapping. I've no idea why, but it seems to work. If you experience similar problems with other control files, try some shotgun debugging with freezes yourself. Modern perls, 5.6.0 and even 5.005_05 do not have this problem. SEE ALSOText::FIGlet, figlet(6), tr(1) AUTHORJerrad Pierce ** />> _ // _ _ _ / >>> (_) ** ,adPPYba, >< ><<< _(_)(_)(_) / >>> | | /** a8P_____88 ><< (_) >> >>> | | |~~\ /** 8PP""""""" ><< (_) >>>>>>>> _/ | |__/ /** "8b, ,aa ><< (_)_ _ _ >>>>>>> @cpan.org |__/ | /** `"Ybbd8"' ><<< (_)(_)(_) >> // >>>> / >>>>>>/ >>>>>
|