If any given name or address in the file is liable to contain a comma, and the file has quotation marks around such values, then you'll want to use one of the modules for parsing CSV (comma-separated-value) files, instead of using split:
Text::CSV_XS or
Text:xSV. (There's
Text::CSV as well, but it's older and more limited than the others.)
(In fact, even if your input data is really simple and has no quoted fields containing commas, you might still want to use one of those modules -- or at least look at their docs.)