Hi Uri: I enjoyed reading through your slides. I think I caught a typo, though:
On the 'Is A' slide, the example is: my @foos = qw( foo bar baz ) ; my %is_a_foo = map { $_ => 1 } @foos ; if( $is_a_foo( $key ) { ... } Shouldn't this be: if( $is_a_foo{$key} ) { ... } Regards, Doug Hunt [EMAIL PROTECTED] Software Engineer III UCAR - COSMIC, Tel. (303) 497-2611 On Thu, 29 Nov 2007, Uri Guttman wrote:
hi all, thanks for the help with hash ideas. the class went pretty well today with even the most experienced perl coder learning something new about hash slices. i did some editing of more examples or variations that aren't on the slides and those helped a bit. the slides are at: http://sysarch.com/computershare/hashes/index.html yes, i know the sets slide is empty. i didn't have time to write it. you can show these slides to others but attribute them to me, please. i didn't even put copyright notices in the templates so don't rip me off for my lifetime + 75 years! uri -- Uri Guttman ------ [EMAIL PROTECTED] -------- http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org