in reply to Context tutorial
The way you print in the first example:
perl -e "@now = localtime(); for $now(@now) {print $now;}"
is tricky because the result looks rather like a scalar (a sort of big integer)
and does not show the "list form" we got from the context. Something like :should give a better "image".perl -e "@now = localtime(); print join(',',@now);"
More, unfortunately, the "scalar" output is a string of enumerated words
which looks more like a list !
(first impression is important for a tutor ;-)
|
---|
In Section
Tutorials