[Bioperl-l] _rearrange

Sendu Bala bix at sendu.me.uk
Wed Feb 28 19:38:46 UTC 2007


Caroline Johnston wrote:
> hi,
> 
> Is there a discussion of the rationale behind the _rearrange method
> somewhere? I'm probably just being gormless, but I think I'm missing the
> point a bit.
> 
> Is it okay for a method just to expect named params like
> ->foo(arg1=>'stuff', arg2=>'things'); ?

The Bioperl style for named args is -arg1, and wrong case is allowed as 
well. So, make use of _rearrange; it won't do you any harm.



More information about the Bioperl-l mailing list