http://qs321.pair.com?node_id=122425


in reply to Re: Tuesday Evening Code Quiz
in thread Tuesday Evening Code Quiz

How about partial partial credit?
%foo{@a} = reverse @a; #should be @foo{@a}

A hash slice needs '@', otherwise this yields a syntax error (under version 5.6.1 at least).

@foo{@a} = reverse @a;

MM