[Bioperl-l] Simplifications now possible with Perl 5.6.1requirement?

Heikki Lehvaslaiho heikki at sanbi.ac.za
Thu Sep 28 18:51:57 UTC 2006


On Tuesday 26 September 2006 16:29, Chris Fields wrote:
> > > open my $FH, '>', $infile
> > > # instead of
> > > open FH, ">$infile";
> >
> > The latter form has caused at least one bug, so this is worth taking
> > note of.
>
> Agreed.  Localized filehandles cut down on a lot of problems.
>

I've changed all file handles I could find into lexically scoped ones. In many 
cases the three argument form is used.

	-Heikki

--
______ _/      _/_____________________________________________________
      _/      _/
     _/  _/  _/  Heikki Lehvaslaiho    heikki at_sanbi _ac _za
    _/_/_/_/_/  Associate Professor    skype: heikki_lehvaslaiho
   _/  _/  _/  SANBI, South African National Bioinformatics Institute
  _/  _/  _/  University of Western Cape, South Africa
     _/      Phone: +27 21 959 2096   FAX: +27 21 959 2512
___ _/_/_/_/_/________________________________________________________



More information about the Bioperl-l mailing list