On Mon, Jun 11, 2012 at 12:43:47PM +0300, Shlomi Fish wrote: > the attached patch against blead adds "use strict" to lib/perl5db.pl, which is > the default perl debugger (what gets invoked by writing "perl -d". > @@ -510,6 +510,8 @@ where it has to go. > > package DB; > > +use strict; > + > BEGIN {eval 'use IO::Handle'}; # Needed for flush only? breaks under miniperl This causes 'use strict' to be in scope for the 'eval' sub, which means that code evaluated with 'x' is now run under 'use strict'. -- In the 70's we wore flares because we didn't know any better. What possible excuse does the current generation have?Thread Previous | Thread Next