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
Bought a souvenir
Emailed all my friends about it
Got blowed up
Hit him right dead in the jaw
Made it awkward
Took a selfie
Want to go home
Results (390 votes). Check out past polls.