Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Directory Listing

by Cody Pendant (Prior)
on Jun 26, 2003 at 04:33 UTC ( [id://269104]=note: print w/replies, xml ) Need Help??


in reply to Re: Directory Listing
in thread Directory Listing

Just a quick note to say if there's supposed to be only one matching file, might have to be careful about the matching.

Zaxo's code will find any files which have that number string in it.

But if there are two or more, like if you have "ab123456.pdf" and "ab1234567.pdf" and "ab9123456.pdf" then you need a more detailed regex.



“Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.”
M-J D

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-20 03:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found