I'm losing it. I've written applications like this countless times but I'm
doing something wrong.
I've got a module called Apache::StoreFront. Right now it consists of:
package Apache::StoreFront;
1;
There's more to it but I've cut it out to simplify things. It's in
/$SERVER_ROOT/lib/perl/Apache
I have an embperl page that consists of:
[# MODULES #]
[! use Apache::StoreFront !]
<HTML>
<BODY>
Hello World!
</BODY>
</HTML>
When I go to the page I get the following error:
[5602]ERR: 24: Line 2: Error in Perl code: syntax error at
/opt/apache/dw3.tivoli.com/81/lib/perl/Apache/StoreFront.pm line 1, near
"package
Apache::StoreFront"
BEGIN failed--compilation aborted (in cleanup) syntax error at
/opt/apache/dw3.tivoli.com/81/lib/perl/Apache/StoreFront.pm line 1, near
"package Apache::StoreFront"
BEGIN failed--compilation aborted at
/opt/apache/dw3.tivoli.com/81/htdocs/home/people/orgchart/test.phtml line 2.
Apache is configured correctly because other embperl stuff works so please
point out some incredibly stupid mistake so I can shoot myself and then finish
this project.
Oh yeah, if all goes well and management doesn't hassle me, mod_perl will have
a shopping cart system for use with embedded perl languages.
Thanks for your help.
---
Jason Bodnar + [EMAIL PROTECTED] + Tivoli Systems
That boy wouldn't know the difference between the Internet and a hair net. --
Jason Bodnar