ccn has asked for the wisdom of the Perl Monks concerning the following question:
glob EXPR glob Returns the value of EXPR with filename expansions such as a shell 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.perl 5.8.7 documentation states:
# glob EXPR # glob In list context, returns a (possibly empty) list of filename expansions on the value of EXPR such as the standard Unix shell /bin/csh would do. In scalar context, glob iterates through such filename expansions, returning undef when the list is exhausted. 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" in perlop.
I highlighted with bold the changes what I am interested for.
Do those changes mean that glob became portable?
|
|---|