Its not a split.....its a substitute. What this snippet is doing is removing 
anything that follows a colon and a dot.

Prachi.

----Original Message Follows----
From: pn <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re:  colon(:) in split --- what does it mean ?
Date: Tue, 18 Jun 2002 08:45:25 -0700 (PDT)

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]




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to