I have an array that I want to remove every instance of '$' and all leading and trailing white space. My code only seems to remove '$'. I know I can split this into separate commands but is there a way to do this all at once?
$_=~s/($\s+)||(\s+^)||(\$)//g foreach (@fields); I have also tried $_=~s/[($\s+)(\s+^)(\$)]//g foreach (@fields); -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]