in reply to Re^2: A bizarre way to get a list of filenames
in thread A bizarre way to get a list of filenames

> pretty clearly spelled out in I/O Operators

here I agree with the docs

These days, it's considered cleaner to call the internal function directly as glob($foo), which is probably the right way to have done it in the first place .)

I passively remember very hairy edge cases here, and sometimes people try to overload <> for their own iterator use and fail because of edge cases. It's our main iterator operator after all.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re^4: A bizarre way to get a list of filenames
by haukex (Archbishop) on Aug 05, 2019 at 15:46 UTC
    sometimes people try to overload <> for their own iterator use

    You mean like me? But I didn't fail, at least I don't think so ;-)

      > You mean like me?

      nope!

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

      update

      maybe "like" you, but I didn't mean "you"!

        update
        maybe "like" you, but I didn't mean "you"!

        No worries, I wasn't being serious, hence the ;-)

        (But if there do happen to be issues with the code I posted, I'd like to know, since I've used <> overloading a few times now...)