>>>>> "JD" == Jatin Davey <[email protected]> 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<[email protected]>  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  ------  [email protected]  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to