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 | |
by Anonymous Monk on Jul 09, 2015 at 07:30 UTC | |
by herveus (Prior) on Jul 09, 2015 at 13:20 UTC | |
by Anonymous Monk on Jul 10, 2015 at 21:46 UTC | |
by herveus (Prior) on Jul 13, 2015 at 15:12 UTC |