At 04:26 PM 6/11/02 -0400, Alaric Joseph Hammell wrote: >How would I get rid of one trailing white space character in >$HASH{$key} and reassign the result
If you're certain that the last character is a space: chop $HASH{$key}; If it might not be a space, and you only want to get rid of the last character if it is a space: $HASH{$key} =~ s/ $//; >OR how would I match a variable with 1 >trailing white space to a variable that has no trailing white space >character? You're using "match" to mean something that is evidently different from what we're used to it meaning in Perl. Hopefully the above answers do what you want anyway. -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]