Totally weird. Suddenly I get the following error message after
uploading a file:
[error] Modification of a read-only value attempted a
t /local/lib/perl5/site_perl/5.005/i386-linux/HTML/Embperl.pm
I think I haven't changed a thing but maybe I'm just stoned...
This is on Embperl 1.2b9 apache 1.3.9 which works flawlessly for
months...
The offending line in Embperl.pm is
if (ref($fdat{$_}) eq 'Fh')
{
----> ${${$fdat{$_}}} = $cgi -> uploadInfo($fdat{$_}) ;
}
}
I turned on embperl debugging but I don't know what went wrong.
The HTML code is trivial:
<p> file is [+ $fdat{'fn'} +]
<form>
<input type=file name="file_name" size=40>
<input type=submit>
</form>
Embperl debug says:
[5488]REQ: Embperl 1.2b9 starting... Fri Feb 4 16:38:04 2000
[5488]REQ: No Safe Eval All Opcode allowed mode = mod_perl (3)
[5488]REQ: Package = HTML::Embperl::DOC::_4
[5488]FORM: file_name=2001_3000_5.csv
And then stops...
Gerald, do you have any opinion on this?
Dirk