develooper Front page | perl.trainers | Postings from December 2004

Re: Advice to Perl Trainers

Thread Previous | Thread Next
From:
merlyn
Date:
December 23, 2004 00:41
Subject:
Re: Advice to Perl Trainers
Message ID:
86fz1x93o7.fsf@blue.stonehenge.com
>>>>> "Tim" == Tim Maher <tim@consultix-inc.com> writes:

Tim> On Wed, Dec 22, 2004 at 08:33:25PM -0000, Peter Scott wrote:
>> Some advice for Perl trainers doing hands-on demonstrations:
>> Don't type "my $self = shift" (or shift anything else) without
>> practice.  It is too easy to typo and leave the 'f' out of
>> 'shift'.  For some reason I am more prone to making this 
>> mistake in front of an audience than when coding alone.
>> Peter Scott

Tim> Been there; done that!  I also recommend avoiding attempts to
Tim> type the potentially much more embarrassing "$count" for the same
Tim> general reason (did it once; won't ever take the chance again!).

And don't do live demos on your laptop where you might have personal
data unless you've already rehearsed every step of your demo in the
privacy of your own cubicle, and verified that nothing of questionable
interest might be exposed.

And on a completely unrelated topic, keep in mind that the resource
fork of a movie you downloaded to a UFS partition on MacOSX will be
stored in a file named "._moviename.mpg", which doesn't get removed
when you say "rm *".

:-)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About