note
vinoth.ree
<b>Hi [neversaint]</b>
<p>Here is one of the way to remove the strings matched in the line from the array. </p>
<c>
use strict;
use warnings;
use Data::Dumper;
my $line ='Lorem ipsum dolor sit amet, consectetur adipisicing elit';
my @array1 = ('ipsum', 'sit amet', 'elit');
foreach(@array1)
{
$line =~ s/$_//g;
}
print $line;
</c>
<div class="pmsig"><div class="pmsig-734134">
<hr>
<b><i>All is well</i></b>
</div></div>
1045250
1045250