[Belfast-pm] unshift-y bop-op-op-op, just blows me away </hair>

Stray Toaster mwk at stray-toaster.co.uk
Thu Dec 23 08:25:21 CST 2004


Yo, people.

This is annoying me. A better way please?

perl -e '@l = (1..10); do { warn join(" ", @l), "\n"; unshift @l, pop @l; } for (0 .. 10);'

Which also leads me to say: Does anyone still use 'foreach'? I can't say
I have used it in yonks. I never even think of it.

Oh, and 'appy Christmas.

m.

-- 

People say footballers have terrible taste in music but I would dispute that
In the car at the moment I've got The Corrs, Cher, Phil Collins, Shania Twain and Rod Stewart.
Andy Gray, ex-player, current pundit
--
Gotta have a blog. It is the law.
http://www.stray-toaster.co.uk/blog/


More information about the Belfast-pm mailing list