Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Tuesday Evening Code Quiz

by Maestro_007 (Hermit)
on Nov 01, 2001 at 00:29 UTC ( #122425=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://122425]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2023-01-30 11:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?