John wrote:
>
> tr/// does not use regular expressions, only m// and s/// and split()
> use regular expressions.

Hi John.

Are you sure of that? I've just answered a private question
about use of $_ from a guy who was insecure about its use.
I said that the only places it was /altered/ was in 'foreach',
'while (<*>)', and (kinda) in 'map' and 'grep'. That's all
I could think of. I agree with your list above, but would add
the obvious qr//.

A definitive list of this sort of thing would be useful, if
only for evangelising Perl.

To summarise:

  Where else does Perl implicitly modify or use $_?
  Where else does Perl implicitly use regular expressions?

Any thoughts? Anybody?

Thanks,

Rob



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

Reply via email to