in reply to passing number of files in directory to subroutine
Anyway, the code doesn't make much sense: What order do you expect the file to be in @onedir and @twodir? You'll have to do something with them to get the right order! Maybe something as:
my @onedir = sort grep !/^\./ readdir DIR1
Paul
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: passing number of files in directory to subroutine
by GrandFather (Saint) on Sep 23, 2005 at 11:34 UTC | |
by Angharad (Pilgrim) on Sep 23, 2005 at 11:45 UTC | |
|
Re^2: passing number of files in directory to subroutine
by Angharad (Pilgrim) on Sep 23, 2005 at 11:08 UTC | |
by rev_1318 (Chaplain) on Sep 23, 2005 at 11:47 UTC |