in reply to how to get the exact option string in Getopt::Long module

This is described in the POD: Configuring Getopt::Long. Use no_auto_abbrev:
use warnings; use strict; use Getopt::Long qw(:config no_auto_abbrev); my %opt; GetOptions(\%opt, qw(readonly)) or die;