my @Names =~ grep("$Info", @Lines); #### my @Names = grep(/$Info/, @Lines); #### my @Names = grep(/^$Info$/, @Lines); #### use warnings; or #!/usr/bin/perl -w (pre 5.6)
## my @Names = grep(/$Info/, @Lines); ##
## my @Names = grep(/^$Info$/, @Lines); ##
## use warnings; or #!/usr/bin/perl -w (pre 5.6)