Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: File::Find Usage with 2 subroutinesby pnaik (Initiate) |
on Jun 15, 2013 at 00:46 UTC ( [id://1039057]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|