in reply to Re: File::Find Usage with 2 subroutines
in thread File::Find Usage with 2 subroutines
I'm not using use strict or use warning in my script.
Well the find sub is not shown as it comes from the package use File::Find.
My script is quite big, should I paste it fully here or is there a way to attach it ?
One more observation meanwhile, if I change the second find call from find(\&findb, "/pqr") to find(&findb, "/pqr"), it does enter findb sub now but the file pointed by $File::Find::name is still from the /abc/xyz folder, i.e file1.
2nd Output: In findb, /abc/xyz/file1