in reply to HOP file iterator

In a word, context. Try:

for (1..2) { print scalar NEXTVAL($it); }

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: HOP file iterator
by ady (Deacon) on Mar 26, 2006 at 16:32 UTC
    <blush> yes, Because print takes a LIST, anything in the LIST is evaluated in list context, and any subroutine that you call will have one or more of its expressions evaluated in list context
    Thanks BrowserUk!
    allan