Copyright © tutorialspoint.com
Syntax
Definition and UsageReturns a list of files matching EXPR as they would be expanded by the standard Bourne shell. If the EXPR does not specify a path, uses the current directory. If EXPR is omitted, the value of $_ is used. From Perl 5.6 on, expansion is done internally, rather than using an external script. Expansion follows the csh (and any derivatives, including tcsh and bash) style of expansion, which translates as the following:
Return Value
ExampleTry out following example: Here glob will retun all the files which begin with "perl_g"
|
Copyright © tutorialspoint.com