Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Glob strange behavior

by jhourcle (Prior)
on Aug 21, 2006 at 12:50 UTC ( #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
Node Status?
node history
Node Type: note [id://568526]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2020-11-26 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?