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

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.
-Rolly

Replies are listed 'Best First'.
Re: Re: subDIR problem
by amoura (Initiate) on Aug 29, 2002 at 19:34 UTC
    somthing like that :
    d:/Profiles/sal/Desktop/testFolder/hi.bld/low.bld
      ???

      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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://193873]
help
Chatterbox?
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
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?