Much better, but I'm still baffled.
One thing -- you don't need to escape the quotes in your s/\"//g -- if that's something other than a quote, I guess something weird could be happening...
OK get your script to print out like this:
print "first item in the array is $myArray[0] \n"; print "doing the replace: \n"; if($myArray[0] =~ s/"//g){ print "it happened\n"; } else { print "nothing to replace, apparently\n"; } print "first item in the array is now $myArray[0] \n";
and see what that says. It's either uppercase or lowercase, it can't be both...
--
Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer. M-J D
In reply to Re: Re: Re: Case change... why did this happen?
by Cody Pendant
in thread Case change... why did this happen?
by AssFace
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |