Jürgen Exner said:
I find it very interesting where you put the emphasis on your sheet:
3 1/2 columns out of 5 deal with regular expressions, only 1 1/2 are
actually Perl itself..
. Note that there is more than one columm blank, and I am open to
suggestions what to put there.
What I would include/add from my perspective:
- Perl functions by name sorted by category as in perldoc perlfunc but
with argument list and return value, including indication for optional
arguments
Yes, I have been thinking about that. Or at least the Perl functions
that set as a side effect $! or similar [1]. But (!) a function can be
looked up using perldoc -f function. OTOH, Programming Perl's function
reference is sometimes more clear regarding if $! is set or not. For
example, perldoc -f chdir doesn't mention [2] that $! is set if false is
returned, while PP's entry for chdir makes this clear with a boxed $! to
the right of chdir and it has an example that shows this.
On top of that the PP documentation also shows that chdir raises and
exception if fed tainted data.
- Perl syntax, at least for less common constructs, e.g. modifiers
- syntax (maybe by examples) for references and OO
There are several Perl cheat sheets out there that cover this
information. references and OO in itself would be 2+ pages I am
afraid. Especially if you want to include modern Perl stuff (Moose,
etc.).
[1] Like Programming Perl does with the small boxes to the right of the
function name in the "Perl functions in alphabetical order" section.
[2] explicitely I mean, it can be guessed from the context, though.