OK Guys I tried using the upload method of CGI. Here is what I did:

my $upload = CGI::Upload->new;

*Do I need to associate the upload variable with the CGI object in some
way which I am creating in the cgi script to accept the other parameters
from the html form ?

<script contd>

$file_name = $upload->file_name('sequences');
$file_type = $uplaod->file_type('sequences');

$file_handle = $upload->file_handle('sequences');

*Here sequences is the name of the input field type file in my HTML
form. Is this the correct way to do it because I did not find much help
regarding using the file type of input and using that with perl-cgi.

Anyways, I am getting an error like this:
Can't use an undefined value as a symbol reference at
/usr/lib/perl5/site_perl/5.8.0/CGI/Upload.pm line 96.

Quoting "JupiterHost.Net" <[EMAIL PROTECTED]>:

> 
> 
> Manas Kulkarni wrote:
> 
> > OK. Advice taken. I have a moustache and I definitely don't wear
> diapers ;)
> 
> Haha good one, lol ;)
> 
> > 
> > Thanks a lot,
> > Manas.
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
> 
> 
> 
> 

-- 
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