Probably the record is like $split_cellname = ABCDEFGHIJK:12345678
($cellname = $split_cellname) =~ s/:.*//; $cellname will now have "ABCDEFGHIJK" $split_cellname =~ s/:.*// => substitute any character starting with : till the end of the string (s/:.*/), in $split_cellname, to NULL (//) => and move this value to $cellname -----Original Message----- From: pn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 11:45 AM To: [EMAIL PROTECTED] Subject: Re: colon(:) in split --- what does it mean ? I came across this snippet of code, in somebody's old code. ($cellname = $split_cellname) =~ s/:.*//; I would like to understand the usage of this statement in general, but in particular, i would like to know the significance of of the colon(:) character in the split function. Thanks PN __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]