I'd just quote them.
You could make erroring out on undef in that case an option. If not, I would have to customize your module in order to use it with my existing module.
A few months back I read that version strings had been declared a worse abomination than pseudo hashes and had already been deprecated. Searching for verification, that doesn't appear to be the case.
Update: My existing module is Win32::TieRegistry and a typical use line looks like:
where options that take an argument are simply recognized by their value, not by having a leading "-". I'd already hoped to use the version argument to disable some default behavior that I had decided was a mistake, so your module would be a welcome aid. (: - tyemy $Reg; use Win32::TieRegistry 0.20 ( TiedRef => \$Reg, Delimiter => "/", ArrayValues => 1, qw( :REG_ KEY_ALL_ACCESS ), );
In reply to (tye)Re2: Module Design Review - Exporter::VA
by tye
in thread Module Design Review - Exporter::VA
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |