in reply to Re: extract linein thread extract line
$1, $2 (and $3, ..., etc.) hold the data that has been captured by a regular expression.
This is fairly basic stuff, so perhaps a read of the perlretut - Perl regular expressions tutorial would be useful; it's section "Extracting matches" has a better, and more detailed, description than my one sentence.
1. Keep it simple
2. Just remember to pull out 3 in the morning
3. A good puzzle will wake me up
Many. I like to torture myself
0. Socks just get in the way
Results (387 votes). Check out past polls.