Re: doubt about $ in perldoc perlvar

2001-05-17 Thread Jeff Pinyan
On May 17, [EMAIL PROTECTED] said: > $ > Contains the subpattern from the corresponding set > of parentheses in the last pattern matched, not > counting patterns matched in nested blocks that have > been exited already. (Mnemonic: like \digits.

Re: doubt about $ in perldoc perlvar

2001-05-17 Thread Jos I Boumans
her solution would be to use a statement like this: $firstmatch = $foo =~ /(bar)/; Hope that helps, Jos Boumans - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 17, 2001 6:59 PM Subject: doubt about

doubt about $ in perldoc perlvar

2001-05-17 Thread Atul_Khot
Gurus, perldoc perlvar says: $ Contains the subpattern from the corresponding set of parentheses in the last pattern matched, not counting patterns matched in nested blocks that have been exited already. (Mnemonic: like \digits.)