glob

See the current Perl documentation for glob.

Here is our local, out-dated (pre-5.6) version:


glob - expand filenames using wildcards



glob EXPR

glob



Returns the value of EXPR with filename expansions such as the standard Unix shell /bin/sh would do. This is the internal function implementing the <*.c> operator, but you can use it directly. If EXPR is omitted, $_ is used. The <*.c> operator is discussed in more detail in I/O Operators.