Our codes is like this:
 
$line = "fordGID=54097";
($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

Reply via email to