Um, how do you know it's not? You clobber the value in $name right after you assign it:
Your code for removing blanks looks fine otherwise.$name =~ s/\s//g; $name = $pwd = $_ ;
In reply to Re: Removing Spaces From A File
by VSarkiss
in thread Removing Spaces From A File
by ellem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |