No such thing as a small change | |
PerlMonks |
Re: passing number of files in directory to subroutineby rev_1318 (Chaplain) |
on Sep 23, 2005 at 10:47 UTC ( [id://494462]=note: print w/replies, xml ) | Need Help?? |
Besides making your code more Perlish (as GrandFather said, but I'd use / instead of \\), I think the problem is in your Calc 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:
Paul
In Section
Seekers of Perl Wisdom
|
|