|Syntactic Confectionery Delight|
Problem with -d inside find subby randian (Acolyte)
|on Apr 26, 2012 at 20:14 UTC||Need Help??|
randian has asked for the
wisdom of the Perl Monks concerning the following question:
This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux
$dir should be set to a directory that has a little bit of depth to it.
What I expect is that $insub_count should match $outsub_count. What I get is $insub_count matching $all_count;
If you change the sense of the test in the sub to
$insub_count becomes 0!
Similar bizarre behavior occurs with -f.