perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Arnold <>
Subject Re: Need a little help with this one
Date Sun, 11 Jul 2004 04:14:28 GMT
Fred et al,

The FDFToolkit and reference is available at:

The documentation is sparse, to say the least, but:

NextFieldName Gets the next field name.

The difficulty, I believe, occurs before the program gets to NextFiledName,
as if I make this adjustment:

$inFDF=new Acrobat::FDF('-',$ENV{'CONTENT_LENGTH'}) or die("Can't bless

Now I get this:

[root@scinux apache]#tail logs/error_log
[Sat Jul 10 21:07:01 2004] [error] Can't bless inFDF\n

Now, the reference has the following for establishing a reference to an FDF

Functions Unavailable in the Perl FDF Toolkit:

	FDFCreate — use new instead. For example,
		$inFdf = new Acrobat::FDF;

	FDFOpen — use new instead. For example,
		$inFDF = new Acrobat::FDF(‘in.fdf’);

	$inFdf=new Acrobat::FDF(‘-’, $ENV{‘CONTENT_LENGTH’});

The '-', according to the reference, is a way of reading from STDIN.

At 08:45 PM 7/10/04 -0700, Fred Moyer wrote:
>> I have a file /var/www/cgi-bin/tryit.cgi:
>> #! /usr/local/bin/perl
>> #
>> use Acrobat::FDF;
>> $currentField=$inFDF->NextFieldName("");
>> [Sat Jul 10 20:04:42 2004] [error] Can't call method "NextFieldName" on an
>> undefined value at /usr/local/apache/htdocs/online_testing/perl/
>> line 13.\n
>I am unfamiliar with the api for Acrobat::FDF, however relying on previous
>encounters with this error message I think the NextFieldName method
>requires a defined input parameter.
>Can you provide us with the documentation from Acrobat::FDF for the
>NextFieldName method?  I didn't see this package on CPAN so I am just
>guessing at this point.

Report problems:
Mail list info:
List etiquette:

View raw message