in reply to Difference between 'use warnings' and '-w' switch

use warnings is lexically scoped: it only enables warnings in the current block of code. -w is global: it enables warnings in all code, including Net::FTP.

Dave.

  • Comment on Re: Difference between 'use warnings' and '-w' switch