in reply to Re: Re: Re: comparing arrays
in thread comparing arrays

No problemo. Actually, rather than using join(), I'd be tempted to do something like this:
{ local $" = "\0"; print "match" if "@a" eq "@b"; }
(not tested, may have typos).

andy.

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: comparing arrays
by kappa (Chaplain) on Apr 04, 2002 at 15:44 UTC
    And why do you think, that "\0" is not going to happen inside array contents? :)
      I just meant, if you knew it wouldn't. Like maybe you've validated the contents already.

      andy.