Think about Loose Coupling | |
PerlMonks |
Re: loop to allocate values to variablesby radiantmatrix (Parson) |
on Aug 17, 2005 at 18:51 UTC ( [id://484527]=note: print w/replies, xml ) | Need Help?? |
I can't imagine why you'd need to take the values in a hash and populate them to variable names -- you already have a hash! Why do you want to do this? Instead of creating and using $blastresult, why can you not use $self->{_blastresult} wherever you need that value? If you must, you could:
<-radiant.matrix->
Larry Wall is Yoda: there is no try{} (ok, except in Perl6; way to ruin a joke, Larry! ;P) The Code that can be seen is not the true Code "In any sufficiently large group of people, most are idiots" - Kaa's Law
In Section
Seekers of Perl Wisdom
|
|