On Wed Dec 01, 2004 at 01:16:19PM -0800, Ella Cai wrote: > Our codes is like this: > > $line = "fordGID=54097"; > ($match,$data)=split(/[=]/,$line);
($match,$data)=split(/[=:]/,$line); > > Right now, sometime $line = "fordGID:54097"; > > I would like to know can split function support regular expression like if it > has either "=" or ":"? > > Thanks > > Lixin > > > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Mail - Helps protect you from nasty viruses. > _______________________________________________ > Perl-Unix-Users mailing list > [EMAIL PROTECTED] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs