Re: Preview of some introspection stuff

On Mon, Aug 22, 2005 at 18:58:56 +0200, Torsten Schoenfeld wrote:
On Sun, 2005-08-21 at 22:53 +0200, Jan Hudec wrote:
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!

Yes, M::B has different logic than EU::MM. But when I used it, I had
5 compilers (m4, PDL::PP, xsubpp, cc and ld) to process each source, plus
another 2 for documentation and beating EU::MM to do what I want was easier
than beating M::B.

                                                 Jan 'Bulb' Hudec <bulb ucw cz>

Attachment: signature.asc
Description: Digital signature

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