Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Glob strange behavior

by jhourcle (Prior)
on Aug 21, 2006 at 12:50 UTC ( [id://568526]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
           glob EXPR
           glob    In list context, returns a (possibly empty) list of fil
    +ename
                   expansions on the value of EXPR such as the standard Un
    +ix shell
    ...
                   "<*.c>" operator, but you can use it directly. If EXPR 
    +is omit-
                   ted, $_ is used.  The "<*.c>" operator is discussed in 
    +more
                   detail in "I/O Operators" in perlop.
    
  2. or download this
    ...
        my ($filename)=glob("$path*$_*.pkl");
        if (defined($filename))
    ...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-04-26 07:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found