in reply to Perl -connecting to DB taking query input from user

I don't understand?? But have noticed that you are passing $Strain with a \n on it. Try
chomp(my $Strain = <>);
see perldoc -f chomp

Replies are listed 'Best First'.
Re^2: Perl -connecting to DB taking query input from user
by MVRS (Acolyte) on Mar 06, 2013 at 02:05 UTC
    Insted of giving Where strainName = 'xxxxx'in the query , i want to give it as the user input