|
Little perl problem, help needed
im just trying to erase duplicates entries .. here's what i got:
basically, i search my database for my own stuff first and its put in @gals2. Now im searching @gals2 for the current result ($_) and if its a match, then current result is replaced by $nothing which is $nothing = "";
while(my @gals = $sth->fetchrow) {
if (@gals2 =~ /$_/){
$_ = $nothing;
}
its not displaying any change at all in my results.. it's as if that whole code didn't exist.
Any input will be appreciated,
Jon
|