>>>>> "JD" == Jatin Davey <jasho...@cisco.com> writes:

  JD> for (keys %months) {
  JD> print "Months in $_ : @{$months{$_}} \n";
  JD> }

  JD> and it worked fine.

but it isn't as good as my code. don't use $_ unless you have to (as in
map/grep). it is much better to use named variables. 


  JD> On 9/3/2010 10:47 AM, Uri Guttman wrote:
  >>>>>>> "JD" == Jatin Davey<jasho...@cisco.com>  writes:
  JD> #!/usr/bin/perl
  JD> use warnings;
  JD> use strict;

and please learn to edit quoted emails and to bottom post. you can google for
what that means. i don't need to see (nor does anyone else) my entire
email again.

thanx,

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to