Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.
I've been seeing a lot of test code that looks like this:
{
no strict;
local *Foo::Bar::baz = sub { die "another day" };
throws_ok {$foo->baz}
qr\another day\, 'simple error thrown';
}
When overriding a subroutine that is explicitly named, there is no need to turn off strict.
Ah, but there is! (Score:1)
Since strict is often a synonym for good_taste, you have to say no good_taste; to use backwhacks as an alternate delimiter.
Re:Ah, but there is! (Score:2)
Heh :) I tossed those in there on the spur of the moment. I thought it was fun.
Strict is like Unit Testing (Score:1)
strictalmost as a unit test. I write the code that I think will causestrictto complain, run it, and then, only whenstrictcomplains, I put it in its own block and put in ano strict. I've learned a lot about whatstrictdoes and doesn't allow this way!