Changeset 2166


Ignore:
Timestamp:
12/23/08 02:41:36 (3 years ago)
Author:
szabgab
Message:

workaround for Test::NoWarnings? hiding some warnings during Makefile.PL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/Makefile.PL

    r2132 r2166  
    22use lib 'privinc'; 
    33use inc::Module::Install; 
     4 
     5# workaround for the fact that Module::Install loads the modules 
     6# into memory and when Test::NoWarnings is loaded it will hide 
     7# the warnings generated from that point. 
     8eval  { 
     9    require Test::NoWarnings; 
     10    $SIG{__WARN__} = 'DEFAULT'; 
     11}; 
     12 
    413 
    514use Config; 
Note: See TracChangeset for help on using the changeset viewer.