Can anybody tell me what I'm doing wrong I have a variable with a value
"bloggs, joe" which I then spilt into 2 using @names=split(/\,/, $contact)
I then have $names[1] with a space at the front,  I have tried to remove
it by doing  $name[1]=~tr/\s//; but it does not remove the leading space.

Any help appreciated thanks in advance.

-- 
Regards



David Inglis
0408502342


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to