in reply to Re: Why to wrap Perl classes inside a Perl script into blocks
in thread Why to wrap Perl classes inside a Perl script into blocks

sundialsvc4:

perldoc package deserves careful and frequent re-reading, because the way that Perl handles this declaration is probably not what you would intuitively expect from your experience with other programming languages.   Also, follow the “packages in perlmod” link at the bottom of that perldoc page, and read both pages very carefully.

Careful reading?

$ perldoc package No documentation found for "package".

Hmm, perl isn't the only programming language with a "package" keyword, but all the other languages that have it use it differently from one another

Programmers don't guess that syntax in one language works identically in another , this is sundialsvc4ism/nonsense

Replies are listed 'Best First'.
Re^3: Why to wrap Perl classes inside a Perl script into blocks
by herveus (Prior) on Jun 03, 2015 at 14:54 UTC
    Howdy!

    The link works; the command line should have been "perldoc -f package". Reading it carefully is a useful thing. Anonymously snarking is not, especially when it is out of line in this case.

    yours,
    Michael

      Howdy! The link works; the command line should have been "perldoc -f package". Reading it carefully is a useful thing. Anonymously snarking is not, especially when it is out of line in this case.

      herveus, it is never out of line to snark at the ignorance of Mike "sundialsvc4" Robinson professional windbag

      So he linked the package docs, big deal, hes never read them, hes never used perldoc, hes talking out of the commode

        Howdy!

        Wow. It took you a whole month to come up with that? Anonymously snarking is just lame. Have the balls to own it.

        yours,
        Michael