On 28 Mar, Marcos Rebelo wrote: > I want another scalar, $regex to hold the output of a regular > expression lookup against $test.
my ($match) = $regexp =~ /.*\s+(so.*?)\s+.*/; $match holds "some". Steven -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>