Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: ... for (@_) x= 2;

by jeffa (Bishop)
on Dec 28, 2015 at 22:00 UTC ( #1151296=note: print w/replies, xml ) Need Help??


in reply to Re^2: ... for (@_) x= 2;
in thread ... for (@_) x= 2;

Just in case this is not obvious, map tends to produce a more consistent solution in these situations:

perl -le'print map $_ x=2, ("a" .. "f")'

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2019-05-22 04:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (138 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!