in reply to Re: Forcing array context on a file handlein thread Forcing array context on a file handle
1 while <$file>; print $.;
Indeed. But that's idiomatic, so lisp programmers probably won't understand it and PerlCritic would probably have an apoplectic hissy fit.
RIP Neil Armstrong
An electronic device
Being the designated driver
Spending time with a celebrity
I never won anything
I never play the lottery
I haven't checked my spam folder recently
Results (380 votes). Check out past polls.