Change 17355 by rgs@rgs-home on 2002/06/25 19:55:23

        Subject: Re: glob [possible PATCH for perlfunc.pod] 
        From: "John P. Linderman" <[EMAIL PROTECTED]>
        Date: Tue, 25 Jun 2002 06:51:09 -0400
        Message-ID: <[EMAIL PROTECTED]>
        
        (reformatted)

Affected files ...

.... //depot/perl/pod/perlfunc.pod#344 edit

Differences ...

==== //depot/perl/pod/perlfunc.pod#344 (text) ====
Index: perl/pod/perlfunc.pod
--- perl/pod/perlfunc.pod#343~17298~    Wed Jun 19 06:01:51 2002
+++ perl/pod/perlfunc.pod       Tue Jun 25 12:55:23 2002
@@ -2040,11 +2040,13 @@
 
 =item glob
 
-Returns the value of EXPR with filename expansions such as the
-standard Unix shell F</bin/csh> would do.  This is the internal function
-implementing the C<< <*.c> >> operator, but you can use it directly.
-If EXPR is omitted, C<$_> is used.  The C<< <*.c> >> operator is
-discussed in more detail in L<perlop/"I/O Operators">.
+In list context, returns a (possibly empty) list of filename expansions on
+the value of EXPR such as the standard Unix shell F</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<< <*.c> >> operator, but you can use it directly. If
+EXPR is omitted, C<$_> is used.  The C<< <*.c> >> operator is discussed in
+more detail in L<perlop/"I/O Operators">.
 
 Beginning with v5.6.0, this operator is implemented using the standard
 C<File::Glob> extension.  See L<File::Glob> for details.
End of Patch.

Reply via email to