steph_bow has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I have a variable which I would like to use for character recognition but it does not seem to work. Could you check ? Thanks
my $song = "cool"; if (my $line = /score*"$song"/){ ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: character recognition
by hipowls (Curate) on Mar 06, 2008 at 12:28 UTC | |
|
Re: character recognition
by moritz (Cardinal) on Mar 06, 2008 at 12:28 UTC | |
|
Re: character recognition
by olus (Curate) on Mar 06, 2008 at 12:45 UTC |