"John W. Krahn" schrieb:
> 
> Andrea Holstein wrote:
> >
> > A matching always return a list of the captured items.
> > On the left side of the assignment is a scalar,
> > so list in a scalar context returns its size.
>      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> While this is true that is _not_ what is happening in this case.
> 
Oh, yes, you're completely right.
Sometimes I forget the details.

However, the little script:
$_ = q/Version 4.3, alpha/;
($IOS_Version) = /Version (.*?)\, /i;
print $IOS_Version;

prints 4.3 like expected.

Greetings,
Andrea

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to