pattern match
- From: Geezer From The Freezer <mail@xxxxxxxxxxxxx>
- Date: Tue, 26 Jul 2005 15:42:18 +0100
@a contains:-
abcdefg1234
1234 this is a test
test
test 1234
I want to print everything with 1234 so:-
$list = @a =~ /1234/ ;
chomp($list);
print ($list);
Why doesn't this work? :(
Be grateful if someone can point me in the right direction.
.
- Follow-Ups:
- Re: pattern match
- From: John W. Krahn
- Re: pattern match
- From: it_says_BALLS_on_your forehead
- Re: pattern match
- From: Jürgen Exner
- Re: pattern match
- From: Niall Macpherson
- Re: pattern match
- Prev by Date: Re: Perl Rename function unreliable?
- Next by Date: Re: Perl Rename function unreliable?
- Previous by thread: calcule date
- Next by thread: Re: pattern match
- Index(es):