in reply to Re: Make string that results from split behave like double-quoted string
in thread Make string that results from split behave like double-quoted string

chilledham makes a good point, i should have seen it.. the \ and n are being treated as individual characters

@arr = split /\|/; for (my $x = 0; $x < @arr; $x++) { $arr[$x] =~ s/\\n/\n/g; } $dbh->execute(@arr);
  • Comment on Re^2: Make string that results from split behave like double-quoted string
  • Download Code