[Bioperl-l] Re: issues with _rearrange

Aaron J Mackey Aaron J. Mackey" <amackey@virginia.edu
Thu, 19 Sep 2002 08:35:58 -0400 (EDT)


On Thu, 19 Sep 2002, Aaron J Mackey wrote:

> my ($self, @args) = @_;
> my ($a1, $a2, $a3) = $self->_rearrange([qw(a1 a2 a3)], @args);
>
> becomes:
>
> my ($self, %args) = @_;
> my ($a1, $a2, $a3) = @args{qw(a1 a2 a3)};

Before anyone jumps down my throat, I'm aware of all the -a1, -A1, A1, a1
options that _rearrange handles; things are never completely as simple as
we first believe them to be ;)

-Aaron

-- 
 Aaron J Mackey
 Pearson Laboratory
 University of Virginia
 (434) 924-2821
 amackey@virginia.edu