Name

neat_list

Synopsis

$newstring = DBI::neat_list(\@list, maxlength, delim)

Converts each element of a list with DBI::neat and returns it as a string.

\@ list

A reference to the list to convert.

maxlength

The length at which to truncate the string with “...”.

delim

The delimiter to use between list elements in the new string. Default is , .

Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.