Some weeks ago I was tasked to give two new colleagues a quick 3 days Perl training/fresh-up.
Suddenly many different people with different (self-proclaimed) skills wanted to join.
So I started to brainstorm about traps and misunderstandings I encountered in 10 years of monastery ...
Then I mailed this list of points taken from perlglossary , each with at least one exemplary question.
I thought it might be beneficiary to share it here...
NB: there is no order / prioritization / completeness.
But this list of different subjects led to interesting insights of the coding habits of my colleagues...
<Reveal this spoiler or all in this thread>
Self Assessment
- Run-time vs compile-time
- Signals
- Difference between die and warn ?
- References
- Aliasing
- Variable declarations
- Scope
- Which scopes do my and our variables have? What makes them different?
- Return
- What's the return value of a function without actual return statement (update:rephrased)
- Flattening
- POD
- Perldoc
- Interpolation
- Precedence
- Default variable
- Function calls
- Modules
- Pragmas
- Booleans:
- Slices
- Variable types
- Casting
- Context
- Namespaces
- Assignments
- Does the following code show a list assignment or scalar assignment?
($a) = func("bla")
- Does the following code show a list assignment or scalar assignment?
So, do you know Perl?
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
Back to
Meditations