in reply to Re^2: Perl <dir_with_wildcards>
in thread Perl <dir_with_wildcards>

The globbing feature of the <> operator dates back at least as far as the Perl-5.5.* versions, as it appeared in some of my earliest Perl books (Learning Perl, 2nd Ed; Programming Perl, 2nd Ed). That takes us into the late 90's.


Dave

Replies are listed 'Best First'.
Re^4: Perl <dir_with_wildcards>
by duff (Parson) on Dec 14, 2017 at 17:09 UTC

    I'm pretty sure <> as glob has been around since pretty close to the beginning of time as far as perl is concerned. It was present in Perl 4.

    A quick look in the git log of the perl5 repository shows commentary about it from Jun 1988 in perl 2.0

      Just out of interest, I reached for my Camel Book (1st Edition). On page 78, the second paragraph is a very close copy of what ++haukex has quoted from the current documentation.

      In the INTRODUCTION section of perlhist, you'll see:

      "Perl 4 introduced the first Camel book. Really. We mostly just switched version numbers so the book could refer to 4.000."

      So, that feature has been around since Perl 3; and, it would appear, hasn't substantially changed. It's possible it worked exactly the same in earlier versions; however, I'm not in a position to comment on that.

      — Ken