in reply to Re: setting 'no strict refs' in a module from the script
in thread setting 'no strict refs' in a module from the script

Wow, that is nice. It would seem that Perl would have this sort of thing built into it. Or maybe there is a reason why it dosn't?
  • Comment on Re: Re: setting 'no strict refs' in a module from the script

Replies are listed 'Best First'.
Re: Re: Re: setting 'no strict refs' in a module from the script
by antirice (Priest) on Jan 26, 2004 at 21:02 UTC

    It's because strict and warnings are meant to help in development and testing. Since you are using these other modules, they should compile properly. The easiest thing is to create a patch, apply it locally and submit it to the module's author.

    On a side note, someone already suggested that I put StrictDisallow.pm on CPAN. I have no interest in it and anyone who wishes to do so is free to do so if they please. If anyone does, though, a shout out would be nice =P

    antirice    
    The first rule of Perl club is - use Perl
    The
    ith rule of Perl club is - follow rule i - 1 for i > 1