[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Benchmarking $|++



Kingpin wrote:
> 
> > I can't help it, I have to say this... I simply won't use a module
> > which does things like set $| = -1.
> 
> So, every time you download a module from CPAN you read through it
> meticulously line by line and make sure that it doesn't do anything
> "bizarre"?  

Of course not! That's what perl is for. Whenever you get a new batch of
interesting CPAN modules, just run them through this handy-dandy script.

#!/usr/bin/perl -n
/\$\|\s*=\s*-\s*1/ and (unlink(@ARGV) , die "Destroying CPAN
contamination\n");

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe