CGI -upload and Perl 5.8?

2004-01-10 Thread Mark Lowe
I copied some Perl code about a year ago to do a file upload to an 
apache server file system. In 5.6, the system worked fine. Now in 5.8, 
I'm getting a failed filehandle read with the CGI-upload function. 
Here is the code:

use CGI;
use Fcntl qw(:DEFAULT :flock);

$CGI::POST_MAX = 1024 * 1024 * 1024;#1 gig

my $maxTries = 10;

my $query = new CGI;

#grab file handle from form
my $fileHandle = $query-upload($fieldName);
my $fileName = $fileHandle;
Again, this worked perfect before 5.8. Any clues on the proper use?

Thanks,

mark



The beloved make command CPAN

2003-12-22 Thread Mark Lowe
So I'm confused. I have routinely had a problem with CPAN failing to do 
make calls without error. In 10.1 and 10.2, a developer tools update 
from Apple would solve the problem. Now that I have a brand new G5 and 
a brand new copy of 10.3, that solution no longer works. I'm stuck with 
a broken CPAN and no solution. There are literally thousands of threads 
on the web with people having the same problem, but seldom does anyone 
post a solution that just works.

So what is the solution?

Recreating the problem is as simple as installing a fresh copy of 10.3 
and trying to run CPAN to full install. With our without the Developer 
Tools CD, it still doesn't work.

I will vow to document and post this solution for 10.3 users if you can 
help me find the solution once again.

Thank you in advance,

Mark

Need help with DBD::mysql install

2002-06-15 Thread Mark Lowe

I¹m able to install all other modules without a problem...but the for some
reason Make fails at the end of DBD::mysql Bundle via CPAN.

Has anyone else run into this?

It¹s killing my Perl / mysql project.

Thanks in advance,

Mark