Fred et al, The FDFToolkit and reference is available at:
http://partners.adobe.com/asn/acrobat/forms.jsp 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 inFDF\n"); Now I get this: [EMAIL PROTECTED] 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 object: 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’); or $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 >> # tryit.pl >> >> 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/tryit.pl >> 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: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html