Is there a way to prevent a warning message produced in a module from a client script? i.e. something like this:

use RandomModule; { no warnings; RandomModule::doSomethingThatCanGenerateWarnings(); }

RandomModule uses "use warnings"


In reply to no module warnings in client code by citromatik

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":