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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: File::Find Usage with 2 subroutines
by zork42 (Monk) on Jun 15, 2013 at 08:33 UTC | |
by zork42 (Monk) on Jun 15, 2013 at 08:47 UTC | |
Re^3: File::Find Usage with 2 subroutines
by Anonymous Monk on Jun 15, 2013 at 10:05 UTC | |
by pnaik (Initiate) on Jun 17, 2013 at 09:36 UTC | |
by talexb (Chancellor) on Jun 17, 2013 at 19:10 UTC |
In Section
Seekers of Perl Wisdom