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

Heikki Lehvaslaiho heikki at sanbi.ac.za
Thu Sep 28 12:50:44 UTC 2006


> Another issue is 'unpacking' of @_ and the regex capture variables.  There
> are a number of modules where maintainability is shot b/c someone didn't
> unpack regex captures, like so:
>
> ($site, $pos1, $pos2, $strand, $score) = ($1, $2, $3, $5, $5);
>
> Bio::Map::CytoPosition comes to mind.  At least build a queue out of them!

At least I got the code working. ;-)

The original version of the code was written in icarus (programming language 
of SRS) which has many similarities to perl but also a lot of limitations and 
twisted ways of doing things.

Feel free to work on the code.


	-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