OK first round to you!

Please explain about that useful-looking command-line syntax. It looks to be
equivalent to

    use O qw(Deparse -p);

but I've never heard of module 'O'. Is it anything to do with the Powerpuff
Girls' Chemical X?

Puzzled,

/R

"Paul Johnson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> But you do actually need the parens in the index call, otherwise the
> precedence is wrong:
>
> $ perl -MO=Deparse,-p -e '@match = grep { index $_, $string >= 0 and $_ ne
$string } @array;'
> (@match = grep({(index($_, ($string >= 0)) and ($_ ne $string));}
@array));
> -e syntax OK
>
> Which doesn't do quite what you want :-(




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

Reply via email to