XUpload - New error... "No package name allowed"

Posts: 2
Joined: Jul 28, 2009 9:15 pm

New error... "No package name allowed"

#1 Postby danilo » Jul 29, 2009 2:08 pm

the perl is ok... the script test are ok...

now i have this message:

Software error:
No package name allowed for variable @XUploadConfig::ISA in "our" at XUploadConfig.pm line 4, near "[email protected]::ISA "
BEGIN not safe after errors--compilation aborted at XUploadConfig.pm line 6.
Compilation failed in require at D:\Progetti\dev\Asp.Net\StudioPresenze\cgi-bin\upload.pl line 9.
BEGIN failed--compilation aborted at D:\Progetti\dev\Asp.Net\StudioPresenze\cgi-bin\upload.pl line 9.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

the first rows of XUploadConfig file are:
package XUploadConfig;
use strict;
use Exporter ();
[email protected]::ISA = qw(Exporter);
@XUploadConfig::EXPORT = qw($c);
use vars qw( $c );

# Directory for temporary using files
temp_dir => '/StudioPresenze/cgi-bin/temp',

# You can use different upload modes for different upload forms
# Specify upload mode in xmode hidden input in upload_form.html
modes =>

Return to “XUpload”