Howdy,
Show 6 quoted lines
> +sub split_addrs($) {
> + my ($addrs) = @_;
> +
> + return "ewords('\s*,\s*', 1, $addrs);
> +}
> +According to the documentation of Text::ParseWords,
The &*quotewords() functions simply call &parse_line(), so if you're only splitting one line you can call &parse_line() directly and save a function call.
so quotewords could be replaced by parse_line. I don't know if that's less readable, though.
-- Matt http://ftbfs.org/