Ryan Perry wrote: > I wanted to use a hash slice, but I'm using a hashref. Can I do both?
Yes. > my @current_Flags=( $hormone . 'DoseCycle', anotherVar, somethingElse ); > $flags->[EMAIL PROTECTED]>selectrow_array(qq{$SQLstmt}); #returns @{ $flags }{ @current_Flags } = $dbh->selectrow_array->( $SQLstmt ); John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>