>Can someone translate into English:
>
>($filename) = $file =~ m!([^/]*)$!;
>
>
>Why is $filename in parens?

The parens put $filename in list context so that it contains whatever is after
the last '/'. In scalar context it contains the number of times the regexp matched.

/Stefan

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

Reply via email to