On Sun, 5 Mar 2000 14:40:10 -0600, you wrote:
>a.piesk@gmx.net (Andreas Piesk) wrote:
>>thanks, i changed the scripts as you described but my problem still
>>exists.
>>
>>error message:
>>[Sun Mar 5 21:30:21 2000] [error] Undefined subroutine
>>&Apache::ROOT::warez_2eperl::navigation_2epl::commonheader called at
>>/var/httpd/html/warez.perl/navigation.pl line 5.
>
>
>Have you checked
>http://perl.apache.org/guide/porting.html#Name_collisions_with_Modules_and
>to see whether that's the problem? It's got some of the same symptoms.
>
>
hiho,
yeah, you're right. thanks. i had to add to the top of Site.pm
'package Site;" and change the "%EXPORT_TAGS = (':all' =>
[@EXPORT_OK]);" to "%EXPORT_TAGS = ('all' => [@EXPORT_OK]);"
now i can call the subs via "Site::frameheader( "Startpage");"
thanks again, ken.
ciao -ap
___________________________________________________________________
Andreas Piesk a.piesk@gmx.net
pgp fingerprint: 23CB A7E2 2E53 373C DBCD 8EFC 7777 61C1
___________________________________________________________________
What goes up, must come down. Ask any system administrator.
___________________________________________________________________
|