----------------------------------------
> Date: Fri, 26 Jun 2015 22:10:19 -0400
> From: perl...@rjbs.manxome.org
> To: perl5-...@perl.org
> Subject: documentation: do we want perlblurb?
>
> A good long while ago, Uri proposed a document called "perlblurb." Without
> getting into the document's specifics yet, it's a list of all the main
> documents in ./pod, and each one is given a paragraph explaining the point.
-----------------------------------------------------
=head2 Tutorials
The documentation for Perl has a set of tutorials on a wide range of
topics. Pretty much any topic where you would want more explanation then
the reference documents will be covered in one of these.
-----------------------------------------------------
I would add this sentence somewhere in that section intro. "Compared with
the reference documents, tutorials are more verbose to be easier to read, but
slower to read and use as a reference."
Perl's pod docs are a disorganized mess on the relation of hashes,
packages, objects, references and globs. The tutorials never make it
clear, and instead encourage copypasta.
You can't make an object without knowing a reference, you can't stuff
anything but a scalar into a hash slice without a reference. globs are
strange "restricted hashes" of references. Each glob lives in a hash,
which also implements a package, and each package is made of globs.
Thanks to TMTOWTDI, the package keyword is not the only way to
make packages. Any vars created without "my" is a glob that lives
in a hash. A "module" (.pm) and a "package" have no technical
relationship. Any .pm can implement any package, and a .pm doesn't
need to implement the package its named after. %main:: is explained very
late perls POD. hash vs hash reference isn't clear, and many perl
programmers copy hashes instead of making references. Hash and arrays
are castable to each other through list context.