Subject: | Allow "use constant::lexical" |
Hi,
Would you consider adding a feature: to make the following valid:
use constant::lexical;
If you do that now, you get:
Can't use undef as constant name at - line 1
BEGIN failed--compilation aborted at - line 1.
This means you can't do something like:
use constant::lexical;
$version = $constant::lexical::VERSION;
I have a couple of tools which do things like this.
I had a quick look at the import function, but haven't got my head around it yet :-)
cheers,
Neil