Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Golf/Perlish solution to this problem?

by BrowserUk (Pope)
on Jan 31, 2008 at 03:09 UTC ( #665270=note: print w/replies, xml ) Need Help??


in reply to Golf/Perlish solution to this problem?

print sub{map{pop,shift,shift,pop}1..@_/4}->(1..8);; 8 1 2 7 6 3 4 5

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2021-01-15 22:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?