[Kc] Perl Noob

Eric Wilhelm scratchcomputing at gmail.com
Wed Sep 19 00:36:16 PDT 2007


# from djgoku
# on Wednesday 19 September 2007 00:22:

>warnings are pretty early on seems to start on page 24 with 'perl -w
> script.pl'

As of (roughly) v5.6.2, -w is different though.  See perlrun and then 
perllexwarn.  With '-w', you're enabling warnings globally -- on all of 
the modules being loaded.  This is sometimes nice to check, but (e.g. 
in tests) not if the modules weren't tested with warnings enabled.

--Eric
-- 
We who cut mere stones must always be envisioning cathedrals.
--Quarry worker's creed
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------


More information about the kc mailing list