($city,$name,$phone,$zip) = (s/\|/, $variable_representing_each_entry ) print "City=$city\n";
----- Original Message ----- From: "Joe Echavarria" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, October 28, 2001 4:02 PM Subject: Flat File > Hi there, > > I have a flat file with the follwoing structure : > > city|name|phone|zip. > > The script save each row with "\n" at the end. > > If for example i wish to display all rows of the > cities in Miami. That is city=Miami. > How can i do it ? > I have been trying regular expresions, but has not > result yet. > Any ideas ? > > Thanks. > > Joe. > > > > > __________________________________________________ > Do You Yahoo!? > Make a great connection at Yahoo! Personals. > http://personals.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]