Hi:

> What happens if you use
>
> [$ sub mysub $]
> [- print OUT "hello"; -]
> [$ endsub $]
>
> instead?
>


it works now but if do something more complex like this:
file subs.epl:
[$ sub mysub $]
        <!-- mysub -->
        [- print OUT "hello"; -]
[$ endsub $]

file index1.epl:
[- Execute ({ inputfile => 'subs.epl', import=>1 }) -]
<html> <head><title> test </title></head><body>
here some body text
[- Execute ({ inputfile => 'footer.epl'}) -]
</body></html>

file footer.epl:

[- &mysub(); -]


I get the again:
Undefined subroutine &Embperl::__3::mysub

If it could be solved it would be great.

Thank you in advance

Carlos Kassab



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to