S
Shmuel (Seymour J.) Metz
I'm trying to find Perl equivalents for some common operations in
other languages. I'm also looking for some style guides.
1. If I have a partial file name, how do I get the complete path?
I tried canon and glob, but both returned the partial name.
2. If I have a directory name and a file specification, ho do I find
all files in that directory matching the specification. File::Find
and issuing an ls command seem like overkill. I could use readdir
if I don't need a recursive search, but I was hoping for an
equivalent of SysFileTree in OS/2.
Any advice? Thanks.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>
Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to (e-mail address removed)
other languages. I'm also looking for some style guides.
1. If I have a partial file name, how do I get the complete path?
I tried canon and glob, but both returned the partial name.
2. If I have a directory name and a file specification, ho do I find
all files in that directory matching the specification. File::Find
and issuing an ls command seem like overkill. I could use readdir
if I don't need a recursive search, but I was hoping for an
equivalent of SysFileTree in OS/2.
Any advice? Thanks.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>
Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to (e-mail address removed)