> "PP" == Philip Potter writes:
PP> On 12 March 2010 09:17, Uri Guttman wrote:
>>> "PP" == Philip Potter writes:
>> PP>
http://stackoverflow.com/questions/2431032/how-to-print-a-key-value-using-the-perl-hases/2431139#2431139
>> you shouldn't be learning perl from that site!
On Fri, 12 Mar 2010 09:40:10 +, Philip Potter wrote:
> On 12 March 2010 09:17, Uri Guttman wrote:
>> http://stackoverflow.com/questions/2431032/how-to-print-a-key-value-
using-the-perl-hases/2431139#2431139
>> PP> )
>>
>> you shouldn't be learning perl from that site!
>
> I respectfully dis
On 12 March 2010 09:17, Uri Guttman wrote:
>> "PP" == Philip Potter writes:
>
> PP> I found this code example on Stack Overflow to prettyprint a hash:
> PP> (link:
> PP>
> http://stackoverflow.com/questions/2431032/how-to-print-a-key-value-using-the-perl-hases/2431139#2431139
> PP> )
>
>
> "PP" == Philip Potter writes:
PP> I found this code example on Stack Overflow to prettyprint a hash:
PP> (link:
PP>
http://stackoverflow.com/questions/2431032/how-to-print-a-key-value-using-the-perl-hases/2431139#2431139
PP> )
you shouldn't be learning perl from that site!
PP>
I found this code example on Stack Overflow to prettyprint a hash:
(link:
http://stackoverflow.com/questions/2431032/how-to-print-a-key-value-using-the-perl-hases/2431139#2431139
)
use strict;
use warnings;
my %hash = (2009 => 9, 2010 => 10);
print join (" => ", each %hash), "\n" while ;
My q