in reply to Compare two arrays of simple numbers

Perl will do the conversion for you-
$string = "@array_l";

Replies are listed 'Best First'.
Re^2: Compare two arrays of simple numbers
by bruceb3 (Pilgrim) on Oct 03, 2007 at 00:02 UTC
    Opps, that will add spaces into the string, which isn't what you wanted.
      Well, I suppose "1 3 5 7" is just as equal to "1 3 5 7" as "1357" is to "1357".

      Thanks.

      Update - in fact, I do believe it solves the issue our velveteen friend Cop mentions above, since "1 234" is clearly not equal to "12 34".

    A reply falls below the community's threshold of quality. You may see it by logging in.