http://qs321.pair.com?node_id=1166027


in reply to Re: BerkeleyDB question
in thread BerkeleyDB question

Updated 2: In your two scripts you have warnings twice -w and use warnings; they both do the same thing.

Not quite: -w and $^W both affect all files loaded, including all modules, whereas the scope of use warnings; is limited to the current block, or the current file if used outside blocks. See warnings and perllexwarn for details.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)