Previous Page Next Page

19.3. What's Next?

In the next chapter, you will learn how Perl interacts with the network and the client/server model. You will learn about the networking protocols, network addressing, Perl's server and protocol functions, and how to obtain host information. There is also a discussion on how sockets are implemented and how to use them as communication end points on two Sun machines.

Exercise 19: Pretty as a Picture!

Generate a report from the following text and send it to a file.

+--------------+-----------------------------------------+------------------------------+------------------+
|  supplierid  | companyname                             | contactname                  | phone            |
+--------------+-----------------------------------------+------------------------------+------------------+
|            1 | Exotic Liquids                          | Charlotte Cooper             | (171) 555-2222   |
|            2 | New Orleans Cajun Delights              | Shelley Burke                | (100) 555-4822   |
|            3 | Grandma Kelly's Homestead               | Regina Murphy                | (313) 555-5735   |
|            4 | Tokyo Traders                           | Yoshi Nagase                 | (03) 3555-5011   |
|            5 | Cooperativa de Quesos 'Las Cabras'      | Antonio del Valle Saavedra   | (98) 598 76 54   |
|            6 | Mayumi's                                | Mayumi Ohno                  | (06) 431-7877    |
|            7 | Pavlova, Ltd.                           | Ian Devling                  | (03) 444-2343    |
|            8 | Specialty Biscuits, Ltd.                | Peter Wilson                 | (161) 555-4448   |
|            9 | PB KnSckebröd AB                   | Lars Peterson                | 031-987 65 43    |
|           10 | Refrescos Americanas LTDA               | Carlos Diaz                  | (11) 555 4640    |
|           11 | Heli Snwaren GmbH & Co. KG          | Petra Winkler                | (010) 9984510    |
|           12 | Plutzer LebensmittelgromSrkte AG        | Martin Bein                  | (069) 992755     |
|           13 | Nord-Ost-Fisch Handelsgesellschaft mbH  | Sven Petersen                | (04721) 8713     |
|           14 | Formaggi Fortini s.r.l.                 | Elio Rossi                   | (0544) 60323     |
|           15 | Norske Meierier                         | Beate Vileid                 | (0)2-953010      |
|           16 | Bigfoot Breweries                       | Cheryl Saylor                | (503) 555-9931   |
|           17 | Svensk Sjöföda AB             | Michael Björn           | 08-123 45 67     |
|           18 | Aux joyeux ecclTsiastiques              | GuylFne Nodier               | (1) 03.83.00.68  |
|           19 | New England Seafood Cannery             | Robb Merchant                | (617) 555-3267   |
|           20 | Leka Trading                            | Chandra Leka                 | 555-8787         |
|           21 | Lyngbysild                              | Niels Petersen               | 43844108         |
|           22 | Zaanse Snoepfabriek                     | Dirk Luchte                  | (12345) 1212     |
|           23 | Karkki Oy                               | Anne Heikkonen               | (953) 10956      |
|           24 | G'day, Mate                             | Wendy Mackenzie              | (02) 555-5914    |
|           25 | Ma Maison                               | Jean-Guy Lauzon              | (514) 555-9022   |
|           26 | Pasta Buttini s.r.l.                    | Giovanni Giudici             | (089) 6547665    |
|           27 | Escargots Nouveaux                      | Marie Delamare               | 85.57.00.07      |
|           28 | Gai pGturage                            | Eliane Noz                   | 38.76.98.06      |
|           29 | ForOts d'Trables                        | Chantal Goulet               | (514) 555-2955   |
+--------------+-----------------------------------------+------------------------------+------------------+

					  


Previous Page Next Page