The cget method

For simply retrieving the value of an option, configure returns more information than you generally want. The cget method returns just the current value.

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.