On May 7, Anshu Anshu said:
>Can't modify reference constructor in untie at ./keeq.pl line 320, near
>"$dbref)"
>BEGIN not safe after errors--compilation aborted at ./keeq.pl line 327.
You are trying to untie a reference to a hash. Remove the \ in front of
the variable.
> 316 sub close_db
> 317 {
> 318 my ($dbref) = @_;
> 319
> 320 untie(\%$dbref);
> 321 }
Change line 320 to:
untie(%$dbref);
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
Are you a Monk? http://www.perlmonks.com/ http://forums.perlguru.com/
Perl Programmer at RiskMetrics Group, Inc. http://www.riskmetrics.com/
Acacia Fraternity, Rensselaer Chapter. Brother #734