in reply to Re: Strange compile error?
in thread Strange compile error?

A '#' introduces a comment.

Oh no! You triggered that annoying little bean counter! So here we go ...

A '#' does not ALWAYS introduce a comment:

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Replies are listed 'Best First'.
Re^3: Strange compile error?
by LanX (Saint) on Apr 30, 2024 at 22:43 UTC
    BUT ...

    • Inside POD, you forgot POD.

    WAIT...

    • After __DATA__ and __END__

    STOP ...

    • could be inside a here-doc marker too
    MOMENT ...

    • A source filter could transform them (see half of f*ck!ng ACME:: ...)

    HOLD ...

    • what if C-preprocessor macros are activated?
    AND ...
    • (fill in more nitpicking, yawn 🥱)

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery

    UPDATES

    Inserted 3 more criteria in hindsight... 🙃