in reply to Re^3: Best Practice: How do I pass option parameters to functions? (warnings)
in thread Best Practice: How do I pass option parameters to functions?

"Thanks useful info for me."

Just to add a little additional info, you'll find '-w' documented in perlrun, with links to further information, and this text:

"... normally, the lexically scoped use warnings pragma is preferred."

-- Ken