P is for Practical | |
PerlMonks |
Re^2: Why $File::Find::prune = 1 returns used only once errorby haukex (Archbishop) |
on Apr 17, 2021 at 07:56 UTC ( [id://11131401]=note: print w/replies, xml ) | Need Help?? |
If asked for default imports, File::Find apparently does some magic to make $File::Find::prune known that is not done if you explicitly import only the find procedure. No, it has nothing to do with import. Bar.pm:
foo.pl:
Edit: Added use Bar (); example.
In Section
Seekers of Perl Wisdom
|
|