Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: subDIR problem

by RollyGuy (Chaplain)
on Aug 29, 2002 at 19:19 UTC ( #193873=note: print w/replies, xml ) Need Help??

in reply to problem going through sub directories

You mention that you have sub-files that are called by higher-level files. Are these sub-files in the same directory? If they are in a sub-directory to d:/Profiles/sal/Desktop/testFolder/, then the globbing won't pick them up.

You probably want to look into File::Find to traverse the directories and act on each blk file.

Good luck.

Replies are listed 'Best First'.
Re: Re: subDIR problem
by amoura (Initiate) on Aug 29, 2002 at 19:34 UTC
    somthing like that :

      If d:/Profiles/sal/Desktop/testFolder/hi.bld/low.bld is a file, how can d:/Profiles/sal/Desktop/testFolder/hi.bld/low.bld also exist? A file can't be both a file and a directory, you know.

      Perhaps you ment to drop the parent file's extension, as in d:/Profiles/sal/Desktop/testFolder/hi/low.bld

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2022-08-15 03:17 GMT
Find Nodes?
    Voting Booth?

    No recent polls found