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

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to