On Mon, 8 Apr 2013 20:50:11 +0100
David Precious <[email protected]> wrote:

> So, the following two are equivalent:
> 
> my %hash = ( foo => 'Bar' );
> my %hash = ( foo, 'Bar' );

Actually, they're not, the second is a syntax error as I didn't add
quotes around foo.

I of course meant:

my %hash = ( foo => 'Bar' );
my %hash = ( 'foo', 'Bar' );

:)

-- 
David Precious ("bigpresh") <[email protected]>
http://www.preshweb.co.uk/     www.preshweb.co.uk/twitter
www.preshweb.co.uk/linkedin    www.preshweb.co.uk/facebook
www.preshweb.co.uk/cpan        www.preshweb.co.uk/github


_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to