You don't need to have a POD written at the starting of the script. You can just have a 5-6 lines of comments after the shebang. And use it to put the script's title in figlet format.
This is what you need to do it in LINUX...
... ## PARA LETRAS FIGLET EN PERL (SOLAMENTE) export FIGLIB=$HOME/path/where/you/placed/your/fonts:$HOME/another/pat +h/with/fonts ## [figlet "text" (name ffont) ] writes sent msg in big (optional: cho +oses a ffont) figlet() { local que=$1 local fu=timesofl if [ ! -z "$2" ] then local fu=$2 fi; if [ -n "$que" ] then perl -I$HOME/path/to/installed/FIGlet.pm -MText::FIGlet -e 'pr +int Text::FIGlet->new( -f=>$ARGV[0] )->figify( -A=>$ARGV[1] )' "$fu" +"$que" fi; } ...
figlet "HAPPY 2006"
## ############################################## #### #### #### ## # ############################################## ## ## ## ## ## ## ## # # ## ##### #### # ### # ### ## ############## ## # ## # ## ##### # # # ### # ## ## # ## # ## ############# ### # ## # ## ## # ## ## # ### ## ## ## ### ## ############ ##### ## ## ## ## ## # # ## ## # ### ### #### ########### ###### ## ## ## ## ## # # ## ## # ## ###### ######## ############ ### #### #### ## ################ #### ##### ############################################
figlet "HAPPY 2006" avatar
_ ____ ____ ____ ___ _ ____ ____ ____ _ / \ /|/ _ \/ __\/ __\\ \///_ \/ _ \/ _ \ __/ \ | |_||| / \|| \/|| \/| \ / / /| / \|| / \|/__ | | | ||| |-||| __/| __/ / / / /_| \_/|| \_/||\/ | \_/ \|\_/ \|\_/ \_/ /_/ \____/\____/\____/\____/
I made a nice example of its use while building a FREE 2006 Tree-Pad calendar. You'll need the freeware plain text editor with tabs (TreePad Lite) to use it!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: POD Figlet titles
by Tanktalus (Canon) on Jan 05, 2006 at 22:34 UTC |