Re: Angle bracket operator with list

2010-03-12 Thread Uri Guttman
> "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!

Re: Angle bracket operator with list

2010-03-12 Thread Peter Scott
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

Re: Angle bracket operator with list

2010-03-12 Thread Philip Potter
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> ) > >

Re: Angle bracket operator with list

2010-03-12 Thread Uri Guttman
> "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>

Angle bracket operator with list

2010-03-12 Thread Philip Potter
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