in reply to Re^3: Need Perl book advice
in thread Need Perl book advice

Seems to me that an equally important question would have been to ask for the templates too :).

Replies are listed 'Best First'.
Re^5: Need Perl book advice
by Ambidangerous (Scribe) on Jul 31, 2004 at 22:45 UTC

    I know, but posting that much code at once, I felt sort of like the guy who's asked to do a wedding toast and goes on with a speech for half an hour. Here's two of the templates (out of eight, so there is a quantity of mercy here). The point would be to make your own, according to your own needs.

    First, the simplest perl program that implements the standard --help and --version options: anewmain.pl. (Notice I'm a firm believer in pod.)

    Second, in case any of you have ever seen GNU Lilypond, it is a cool music typesetting program. Although it isn't Perl, I had to do a lot of language learning before I could produce good copy with it. I'm proud of the result (template.ly). The syntax is similar to LaTeX:

    And there you go; 'anew' can be adapted as stated in the original article, according to your needs.

    $jPxu=q?@jPxu?;$jPxu^=q?Whats?^q?UpDoc?;print$jPxu;