At 01:28 AM 2/12/2004 +1100, David Inglis wrote:
"bloggs, joe" which I then spilt into 2 using @names=split(/\,/, $contact)

How about: #!perl -w use strict;

my $contact = "bloggs, joe";

@names=split(/, /, $contact);

print @names;


-- 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