develooper Front page | perl.perl5.porters | Postings from July 2001

Re: [PATCH perlsnap] /^qnx|nto$/ --> /^(?:qnx|nto)$/

Thread Previous
Norton Allen
July 2, 2001 18:41
Re: [PATCH perlsnap] /^qnx|nto$/ --> /^(?:qnx|nto)$/
Message ID:
Philip Newton wrote:
> Looking through changes again, I see a couple of places where
> C<$^O eq 'qnx'> turned into C<$^O =~ /^qnx|nto$/>. Presumably, this
> is supposed to be something like "if $^O is either 'qnx' or 'nto'" and
> not "if $^O starts with 'qnx' or ends with 'nto'". Non-capturing parens
> added in those places to clarify the meaning.

  Affirmative. Thanks. -Norton

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About