LJ::Schools::find_existing

LJ::Schools::find_existing — Finds an existing school by given criteria.

Use

LJ::Schools::find_existing(country, name, state, city, url);

Arguments

  • country. country school is in.

  • name. name of school.

  • state. state school is in, or nothing for undefined state.

  • city. Optional. City school is in.

  • url. Optional. URL of school.

Source:

cgi-bin/schoollib.pl

Returns:

single scalar schoolid on exact match, arrayref of school ids found if multiple, undef on error; or no results.