Re: teaching examples (was "Re: Date and Time")

2002-07-15 Thread Peter Scott
At 09:13 AM 7/15/02 -0500, David T-G wrote: >I *think* I understand this. > > - 'my' defines a var for only this block and does not export to > subroutines Correct, although 'export' is the wrong term. This is why these are called 'lexical' variables; their scope is lexically defined (as

Re: teaching examples (was "Re: Date and Time")

2002-07-15 Thread David T-G
drieux, et al -- ...and then drieux said... % % On Saturday, July 13, 2002, at 07:11 , David T-G wrote: % % In the main I like where this is generally going. Yay :-) % % A part of my argument with myself today has been about % % which is better? all 'teaching code' should be 'virgin

Re: teaching examples (was "Re: Date and Time")

2002-07-13 Thread drieux
On Saturday, July 13, 2002, at 07:11 , David T-G wrote: In the main I like where this is generally going. A part of my argument with myself today has been about which is better? all 'teaching code' should be 'virgin clean'??? or should we show the actual process by which ideas

Re: teaching examples (was "Re: Date and Time")

2002-07-13 Thread David T-G
Peter, et al -- ...and then Peter Scott said... % % At 11:18 AM 7/12/02 -0500, David T-G wrote: % > % >...and then Peter Scott said... % >% ... % >% possible. Later on I show the beginners a nasty example of the % >% consequences of leaving out use strict, -w/use warnings, or both. % > % >Oooh!