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

Re: Advice to Perl Trainers

Thread Previous | Thread Next
Tim Maher
December 22, 2004 15:28
Re: Advice to Perl Trainers
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About