in reply to Re^2: Problem with ampersand and regex
in thread Problem with ampersand and regex
What do you get if you capture?
if( $line =~ /^mail:\s+([\S]+)$/ ) { my $mail = $1; print "mail=$mail\n"; }
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Problem with ampersand and regex
by Anonymous Monk on Dec 19, 2012 at 21:23 UTC | |
by davido (Cardinal) on Dec 19, 2012 at 21:48 UTC | |
by Anonymous Monk on Dec 19, 2012 at 22:01 UTC | |
by davido (Cardinal) on Dec 19, 2012 at 22:09 UTC | |
by Anonymous Monk on Dec 20, 2012 at 14:24 UTC |