On 07-Feb-00 Gerald Richter wrote:
>> [20011]ERR: 24: Line 13: Error in Perl code: (in cleanup) [Mon
>> Feb 7 12:08:23
>> 2000] PerlHandler subroutine `HTML::Embperl': Cannot access
>> 'DESTROY' field in object of class PRCL::Player at
>> /usr/lib/perl5/site_perl/5.005/i586-linux/HTML/Embperl.pm line 557
>>
>> The page looks like:
>>
>> <HTML>
>> <HEAD><TITLE>Test</TITLE></HEAD>
>> <BODY BGCOLOR=WHITE>
>> [-
>>    use PRCL::Stats;
>>    use Data::Dumper;
>>
>>    my $stats = new PRCL::Stats("dbi:mysql:prcl", "root");
>>    my $batter = $stats->get_batter($fdat{'id'}, '', '1997-09-28');
>>
># The scope of my $batter ends here!!!!!
>> -]
>> <PRE>
>> [+ Dumper $batter +]
> 
> $batter is undefined here! remove the my above (if this not only a typo in
> your mail)

Duh ... I copied this from a regular perl script and completely forgot about
embperl scope. I'm sure that'll fix the problem.
 
>> I'm using HTML::Embperl 1.2b5.
>>
> Maybe it time to upgrade? Many things has changed since 1.2b5

Yes, definitely. It's on my very long list. 

Thank you for the slap to the head that has awaken me from my daze.

---
Jason Bodnar + [EMAIL PROTECTED] + Tivoli Systems

In Jail Rock house Rock, he was everything Rockabilly's about.
No, I mean he is Rockabilly. Mean, Surly, Nasty, Brute.
I mean in that movie he couldn't give a ---- about nothin'.
Just rockin' and rollin', livin' fast, dying young, leavin' a good lookin'
corpse.

--Clarence Worley, True Romance

Reply via email to