in reply to Re^2: Generating lists from a charset
in thread Generating lists from a charset

You're right. Perhaps it's time for glob to be updated?

-QM
--
Quantum Mechanics: The dreams stuff is made of

Replies are listed 'Best First'.
Re^4: Generating lists from a charset
by BrowserUk (Patriarch) on Dec 24, 2005 at 16:02 UTC

    I've thought about that, but it is difficult to see how to make it an true iterator without changing the interface to return some kind of 'handle'?

    There is one other existing non-handle, scalar context iterator, each, and that is almost universally eshewed because of it's global nature.


    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.
      There is one other existing non-handle, scalar context iterator, each, and that is almost univerally eshewed because of it's global nature.
      Yes. Besides the explicit handles of things like readdir and readline, the only other one I can think of is m//g, which is another beast entirely. It does have an explicit handle of sorts though.

      -QM
      --
      Quantum Mechanics: The dreams stuff is made of