in reply to Re: Prototype mismatch
in thread Prototype mismatch

What is this supposed to do?

BEGIN { eval { do { use strict; use warnings; } }; }

You can delete the whole thing and the rest of the code will behave the same way.


Improve your skills with Modern Perl: the free book.

Replies are listed 'Best First'.
Re^3: Prototype mismatch
by Khen1950fx (Canon) on Apr 13, 2012 at 01:50 UTC
    It's there to do nothing---that's why I put it there. A simple use strict; seemed counter-productive, based on my understanding of load.
      It's there to do nothing---that's why I put it there.

      I don't understand. Why write a big wad of code that does absolutely nothing? (Okay, it prepopulates the require cache with both modules, but what good is that?)

        I think that I have to agree with you:).