Hi all, and hi Gerald,

    I'm narrowing the problem down, from the previous post where I had
mistakenly thought Execute would return true upon success.

    What I've found so far is :
        - The server is running Embperl as CGI
        - When it finds a statement looking like
                HTML::Embperl::DOC::someSub;
           it will die, saying that barewords are not allowed when the
strict pragma is in use.
        - HTML::Embperl::DOC::someSub has been declared in a file thats
been Executed with the import flag set to 1.
        - If I change the line to
                HTML::Embperl::DOC::someSub();
            my problems are gone. That's what I'm doing now.
        - It's not consistent across files, that is, some files have all
their calls to subroutines without parenthesis and not a warning is
issued.
        - On the other hand, once a file dies, it dies quoting every
'wrong' call to subroutines.

    Maybe it's clear to you. It certainly looks vodoo to me :)

    Maybe the difference has to do with compiled and not-yet-compiled
code. I don't really know.

    Ah, by the way, 'use strict' is only explicitly called inside the [!
!] constructs where the subs are declared. And [$var $] is in use in
each and every file.

    Is all this sensible?


martin
--                                                         --
To understand recursion, one must first understand recursion.
--                                                         --
    - Martin Langhoff @ S C I M  Multimedia Technology -
      - http://www.scim.net      | God is real until  -
      - mailto:[EMAIL PROTECTED]  | declared integer   -

Reply via email to