Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: inserting a formatted text file into a perl script.

by GrandFather (Sage)
on Aug 03, 2006 at 23:20 UTC ( #565592=note: print w/replies, xml ) Need Help??


in reply to inserting a formatted text file into a perl script.

If the help pertains to the script then you might consider putting the help information into the script as POD and use Getopt::Long and/or Pod::Usage to do the heavy lifting for you. See the sample code in the Getopt::Long documentation to get started.


DWIM is Perl's answer to Gödel
  • Comment on Re: inserting a formatted text file into a perl script.

Replies are listed 'Best First'.
Re^2: inserting a formatted text file into a perl script.
by VSarkiss (Monsignor) on Aug 04, 2006 at 14:03 UTC