Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: Why $FIle::Find::prune = 1 returns used only once error

by jcb (Parson)
on Apr 18, 2021 at 02:30 UTC ( [id://11131420] : note . print w/replies, xml ) Need Help??


in reply to Re^3: Why $FIle::Find::prune = 1 returns used only once error
in thread Why $FIle::Find::prune = 1 returns used only once error

The Perl compiler is complaining that it only saw File::Find::prune once, so you solve the issue by having your program mention File::Find::prune twice. The warning is intended to catch "odd man out" typos in variable names.