Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

(Text::PDF::FlateDecode) (again,)

by dunnyman (Novice)
on Dec 05, 2012 at 16:12 UTC ( #1007314=perlquestion: print w/replies, xml ) Need Help??
dunnyman has asked for the wisdom of the Perl Monks concerning the following question:

This is my problem:

Failed to open filter FlateDecode (Text::PDF::FlateDecode)

This is my @INC

/applications/dstio/bin/perl_modules/lib/site_perl/5.8.2/aix-thread-mu +lti<br> /applications/dstio/bin/perl_modules/lib/site_perl/5.8.2<br> /usr/opt/perl5/lib/5.8.2/aix-thread-multi<br> /usr/opt/perl5/lib/5.8.2<br> /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi<br> /usr/opt/perl5/lib/site_perl/5.8.2<br> /usr/opt/perl5/lib/site_perl<br>

The code fragment is:

my $filt = eval { require Text::PDF::Filter; my $pkg = "Text::PDF::$filtername"; $pkg->new; };

the Text::PDF and CAM::PDF are installed under the second path, but PERL doesn't seem able to find the filtername ... which does exist.

Help! The Text::PDF::Filter module contains the Text::PDF::FlateDecode module, but nothing I do seems to invoke the beast. How do I know what paths are being used? How do I get it to work?

Replies are listed 'Best First'.
Re: (Text::PDF::FlateDecode) (again,)
by dunnyman (Novice) on Dec 07, 2012 at 11:45 UTC

    The scripts I work with are bollox. Environment variables are blasted when one script is, not when the other is invoked. Rant rant rant.

    Environment variables.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1007314]
Approved by herveus
and the fire pops...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2018-05-21 00:58 GMT
Find Nodes?
    Voting Booth?