Re: parseform.lib



Madhu Kumar am Sonntag, 23. Juli 2006 11:16:
Hi,

I when i use parseform.lib

How do you 'use'? A

use SomeModule;

expects a file with the name 'SomeModule.pm'.

To include perl code with another suffix, you need

require 'parseform.lib';

perldoc -f use
perldoc -f require

in my program i get the following error
message :

Can't locate parseform.lib in @INC (@INC contains: .
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at
test.cgi line 14.

What is the error message about

This means that there is no 'parseform.lib' file in the paths contained in
@INC.

and where to find parseform.lib.

on *nix: find / -name parseform.lib

If the parseform.lib is installed in another path, you can include the path
like

require '/here/is/installed/parseform.lib';

To parse form data, an usual way is to use the CGI module:

perldoc CGI

Does this help?

Dani
.



Relevant Pages

  • Re: Im looking for a Perl Book... I think.
    ... One line is for using the CGI module in a function-oriented manner ... You would probably benefit from a Perl book written in the modern era. ... perldoc perlboot ...
    (comp.lang.perl.misc)
  • Re: Did not find leading dereferencer
    ... I can't find that entry anwhere in my `perldoc perldiag` (This is ... perl, v5.8.4 built for sun4-solaris). ... Your user-written subroutine has no such magic. ... I still have no idea what that error message you're talking about ...
    (comp.lang.perl.misc)
  • Re: merge 2 or more files together without creating new file
    ... perldoc -q quoting ... variable in the error message so you know ... You should be using lexical filehandles and the three argument version of open*: ...
    (perl.beginners)
  • Re: Help ! Unable to create tmp file using a CGI script
    ... two FAQs in three lines of code. ... That takes talent. ... perldoc -q temporary ... Why did you include an error message if you're not going to read what it ...
    (comp.lang.perl.misc)
  • Re: Perldoc on Win98
    ... On 4/29/2004 8:50 PM, Randy W. Sims wrote: ... >> machine and I could never get Perldoc to work. ... Install Pod::Perldoc, the new replacement for the older perldoc. ... What is the exact error message? ...
    (perl.beginners)