Re: Preview of some introspection stuff

On Sun, 2005-08-21 at 22:53 +0200, Jan Hudec wrote:
On Sun, Aug 21, 2005 at 17:10:58 +0200, Torsten Schoenfeld wrote:
Unfortunately, you'll have to always be in PDF-Poppler-0.01/ for
anything to work, because otherwise the needed data/poppler.raw will not
be found.  If anyone has some insights into how to install data files,
I'd appreciate any advise.

I have installed glade files among perl modules some time ago. Take advantage
of the fact, that _everything_ in lib is considered a module, no matter what
extension it has (by EU::MM, that is, IIRC). So just put it in as
lib/PDF/Poppler/poppler.raw. Then open 'perldoc -f require' and copy the code
you find there, replace the "do $realfilename" with whatever loading is
appropriate and ask it to load "PDF/Poppler/poppler.raw".

I had to coerce Module::Build into installing poppler.raw like so:

  pm_files          => {
      'lib/PDF/'          => 'lib/PDF/',
      'lib/PDF/Poppler/poppler.raw' => 'lib/PDF/Poppler/poppler.raw',

But otherwise it worked great.  Thanks!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]