pretty print to postscript (or pdf or tex) for both code and pod

Discussion in 'Perl Misc' started by ivowel@gmail.com, Nov 26, 2006.

  1. Guest

    dear perl experts: yes, I have read the perlfaq, part 3. alas, I
    would like something that prints nicely like the enscript perl mode,
    but with the pod comments formatted nicely. when I use enscript
    -Eperl, the pod comments are just text, not nicely formatted. does a
    combined pretty-printer exist?

    sincerely,

    /iaw
     
    , Nov 26, 2006
    #1
    1. Advertising

  2. Re: pretty print to postscript (or pdf or tex) for both code andpod

    wrote:
    > dear perl experts: yes, I have read the perlfaq, part 3. alas, I
    > would like something that prints nicely like the enscript perl mode,
    > but with the pod comments formatted nicely. when I use enscript
    > -Eperl, the pod comments are just text, not nicely formatted. does a
    > combined pretty-printer exist?


    perltidy -html your_perl_program

    And then convert that to postscript or whatever.


    perldoc perltidy



    John
    --
    Perl isn't a toolbox, but a small machine shop where you can special-order
    certain sorts of tools at low cost and in short order. -- Larry Wall
     
    John W. Krahn, Nov 27, 2006
    #2
    1. Advertising

  3. Re: pretty print to postscript (or pdf or tex) for both code andpod

    wrote:
    > dear perl experts: yes, I have read the perlfaq, part 3. alas, I
    > would like something that prints nicely like the enscript perl mode,
    > but with the pod comments formatted nicely. when I use enscript
    > -Eperl, the pod comments are just text, not nicely formatted. does a
    > combined pretty-printer exist?


    perltidy --html your_perl_program

    And then convert that to postscript or whatever.


    perldoc perltidy


    John
    --
    Perl isn't a toolbox, but a small machine shop where you can special-order
    certain sorts of tools at low cost and in short order. -- Larry Wall
     
    John W. Krahn, Nov 27, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ajax Chelsea

    Is array of POD still a POD type?

    Ajax Chelsea, Dec 1, 2003, in forum: C++
    Replies:
    1
    Views:
    354
    Ron Natalie
    Dec 1, 2003
  2. keto
    Replies:
    0
    Views:
    998
  3. Sean Nakasone
    Replies:
    1
    Views:
    400
    Farrel Lifson
    Apr 14, 2008
  4. Daniel Berger
    Replies:
    0
    Views:
    185
    Daniel Berger
    Feb 6, 2009
  5. Himanshu Garg
    Replies:
    1
    Views:
    169
    Himanshu Garg
    Sep 21, 2003
Loading...

Share This Page