http://qs321.pair.com?node_id=11133915


in reply to Re^2: how to ignore spaces, commad or new line of an array when comparing
in thread how to ignore spaces, commas or new line of an array when comparing

How does that reply address "show precisely how your arrays are created" (see I know what I mean. Why don't you?)? Perhaps you intended to write something like:

use strict; use warnings; my $fStr = <<FSTR; abc xyz FSTR open my $inFile, '<', \$fStr; my @array2 = <$inFile>; my @array1 = ('abc ', 'xyz');
Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
  • Comment on Re^3: how to ignore spaces, commad or new line of an array when comparing
  • Download Code