in reply to Re: Using multiple args per switch with Getopts::Std
in thread Using multiple args per switch with Getopts::Std
You may be right, but I don't think that that's where my problem lies. The print statement that prints $opt_d and $opt_e, and returns "DD/MM/YYYY", rather than "DD/MM/YYYY HH:MM:SS", is executed before hitting the regex.