Sisyphus wrote:
> Those warnings are all generated by Memory.pm - you could specify 'no
> warnings' near the start of Memory.pm (or just comment out 'use warnings;'
> in Memory.pm) and all warnings produced by Memory.pm will then be not seen.
> (Warnings produced by your script will be unaffected by this.) If you just
> wanted to hide only the warnings about uninitialized values that Memory.pm
> generates you would specify (in Memory.pm):
Wouldn't it be better to remove the 'bugs' (I use the word loosely) that
are causing the warnings ?
> use warnings;
> no warnings ("uninitialized");
>
> Perhaps there's a way of combining those 2 lines into 1- something that
> does:
> use warnings (# all warnings except "uninitialized");
>
> I don't know if such a feature exists.
>
> If you want to hide both types of warnings that you're getting (but allow
> all Memory.pm to throw up all other warnings), then I think:
>
> use warnings;
> no warnings ("uninitialized", "substr outside");
>
> But that last piece of code is untested.
--
,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED]
(_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED]
/ ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff)
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs