Switching from using -w to "use warnings" (commit
e4fc08c567584f107db6ed21cde50d305b948737), caused my previous method to disable
warnings when calling MythTV::Program broke.
The warning we're suppressing is:
Argument "Default" isn't numeric in bitwise and (&) at /usr/share/perl5/MythTV/Program.pm line 95.
{
# MythTV::Program currently has a slightly broken line with a numeric
# comparision.
- local($^W) = undef;
+ local($^W) = 0;
$show = new MythTV::Program(@$row);
}
{
# MythTV::Program currently has a slightly broken line with a numeric
# comparision.
- local($^W) = undef;
+ local($^W) = 0;
$show = new MythTV::Program(@$row);
}