in reply to Re^3: What happens when you load the same module twice?
in thread What happens when you load the same module twice?
His change however didn't involve anything with changing the package name. He didn't suggest that 'use My::Module' should be equivalent to:
Not that this would work. Because "file::basename::import" doesn't exist. Or are you suggesting that in dragonchilds "fix" package names are automatically lowercased as well? And that Perl's rule of "variable names are case sensitive" is to be changed to "lexical variable names are case senstive, but package variables are only case sensitive after the list colon"? I certainly didn't read that in his post.BEGIN { require My::Module; # require does an lc of the name. (lc "My::Module") -> import; }
|
|---|