Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Pod::Html links to Modules

Reply
Thread Tools

Pod::Html links to Modules

 
 
Tookelso
Guest
Posts: n/a
 
      10-27-2005
Hello,

I'm currently using Pod::Html, and the pod2html function for creating
HTML documents out of my Perl scripts.

However, some Modules will correctly link, and others won't.

L<File::Find> -- This works, because there's a /perl/lib/File/Find.html

L<Getopt::Long> -- This doesn't work, because there's no
/perl/lib/Getopt/Long.html

I found a bunch of .html files in my /perl/html/lib directory, and
would like pod2html to use those.

I tried to add /perl/html/lib directory to my --podpath setting, but
get this error:

"Cannot open /perl/html/lib/Pod/perlfunc.pod for input: No such file"


Here's my complete pod2html command:

pod2html("/mydir/myscript.pl",
"--header",
"--htmlroot=file://d:/",
"--podroot=/perl",
"--podpath=/perl/site/lib:/perl/lib:/perl/html/lib",
"--libpods=perlfuncerlgutserlvarerlrunerlop",
"--infile="/mydir/myscript.pl",
"--outfile=$dest_dir/$basename\.html");

Can anyone tell me what I'm doing wrong?
Or do I just have to copy the .html files to the respective
/perl/lib/<mod> directories? If so, then why have a --podpath setting?

Thanks in advance,

--Took

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing v reloading modules modules Peter Peyman Puk Python 0 03-19-2010 05:09 PM
Disabling modules using Modules/Setup Ben Weintraub Python 0 09-09-2006 12:04 AM
Importing modules from within other modules Tobiah Python 2 09-14-2003 09:18 PM
imputils - import problem modules from sys.modules Remy Cool Python 1 08-27-2003 02:25 PM



Advertisments