where to get a complete perldoc ?

L

Lambik

Jie said:
I downloaded the "Full version - contains HTML and PDF files" from
http://perldoc.perl.org/perldoc.tar.gz

however, the PDF files are separate. Is there a single PDF file that
contains all the files so that i can print it out at one time?

#!/usr/bin/perl
use strict;
use warnings;
use PDF::Reuse;

my $dir = './';
opendir DIREC, $dir;
my @files = sort(grep(/pdf$/i, readdir(DIREC)));
closedir DIREC;

prFile('myFile.pdf'); # file to make
foreach my $file (@files) {
prDoc($file);
prPage();
}
prEnd();
 
J

Jie

Hi, Lambik:

I try to run the code, but got this error ": No such file or directory

I am just curious, does your code knows which file is in chapter 1 and
which file is in chapter 2??

if your code could generate a master PDF file for perldoc, can you
please email it to me at (e-mail address removed) ?

Thank you very much!

Jie
 
L

Lambik

Jie said:
Hi, Lambik:

I try to run the code, but got this error ": No such file or directory

It wasn't meant that way. It was more a "coded" message telling you to make
your own. It does run btw. It makes from all pdf's in a directory one large
one

I am just curious, does your code knows which file is in chapter 1 and
which file is in chapter 2??

No it sorts it by name
 
M

Michele Dondi

I am just curious, does your code knows which file is in chapter 1 and
which file is in chapter 2??

Actually his code seems a very cool example about using PDF::Reuse,
which I've never used. So I find it very instructive. BUT it is clear
enough that it doesn't, for it simply sorts articles alphabetically.
OTOH, that I know, the perldoc documentation is *not* structured in
numbered articles anyway. So you can take his code as a base and
taylor it to your needs.
if your code could generate a master PDF file for perldoc, can you
please email it to me at (e-mail address removed) ?

How about a complimentary bottle of champagne? ;-)
Jie

On Jul 5, 12:53 pm, "Lambik" <[email protected]> wrote:

Please do not top-post. It is annoying.


Michele
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,202
Messages
2,571,058
Members
47,668
Latest member
SamiraShac

Latest Threads

Top