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

Re: Advice to Perl Trainers

Thread Previous | Thread Next
From:
Tim Maher
Date:
December 22, 2004 15:28
Subject:
Re: Advice to Perl Trainers
Message ID:
20041222232751.GA20715@jumpy.consultix-inc.com
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

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

- Tim
*--------------------------------------------------------------------------*
| Tim Maher, PhD     (206) 781-UNIX      (866) DOC-PERL     (866) DOC-UNIX |
| tim(AT)Consultix-Inc.Com  http://TeachMePerl.Com  http://TeachMeUnix.Com |
*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-*
|      Watch for my upcoming book: "Minimal Perl for UNIX/Linux People"    |
|   2/14: Minimal Perl  2/15: Hashes & Arrays  2/16-18: Intermediate Perl  |
*--------------------------------------------------------------------------*

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