develooper Front page | perl.perl5.porters | Postings from December 1999

Re: [ID 19991223.003] AIX split bug

Thread Previous | Thread Next
From:
David Hayes
Date:
December 23, 1999 14:01
Subject:
Re: [ID 19991223.003] AIX split bug
Message ID:
Pine.A41.4.20.9912231455090.22344-100000@blkdia.bdel.com
On Thu, 23 Dec 1999 Thomas.Schmitt@ruv.de wrote:

>Consider the following program.
>
>#!/bin/perl
>$a='3-2=1';
>print join(':', split /-|=/, $a),
>    "\n",
>    join(':', split /=|-/, $a);
>
>But under AIX, it behaves buggy:
>
>3:2=1
>3:2:1

This works fine for me on all of the RS6000's that I have access to: one
with 5.003_2 and AIX 4.2.1, one with 5.003_3 and AIX 4.2.1, and one with
5.003_3 and AIX 4.3.2. 

--david



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About