Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: Perl <dir_with_wildcards>

by davido (Cardinal)
on Dec 14, 2017 at 15:36 UTC ( [id://1205534]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1205534]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-23 12:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found