in reply to Re: A regarding glob
in thread Q regarding glob
Sorry if I didn't mention it clearly.
There are many folders inside dir2.
Eg: A1, B1, C1 etc: are the folder inside dir2.
only A1 and B1 folders have a file names "hello.txt"
Hence, I want only the names of A1 and B1.
If I do glob from some other folder like
glob ("../../dir1/dir2/*/hello.txt")
How can I get the only folders A1 and B1.
I am going through the various suggestions that you guys gave. I will try them out.
Thanks
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: A regarding glob
by LanX (Saint) on May 17, 2013 at 01:53 UTC | |
by arunagiri (Initiate) on May 17, 2013 at 17:43 UTC | |
by LanX (Saint) on May 17, 2013 at 17:54 UTC | |
by arunagiri (Initiate) on May 17, 2013 at 17:44 UTC |
In Section
Seekers of Perl Wisdom