Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^5: what would you like to see in perl5.12? (require $class)

by ikegami (Pope)
on Aug 22, 2007 at 20:05 UTC ( #634508=note: print w/ replies, xml ) Need Help??


in reply to Re^4: what would you like to see in perl5.12? (require $class)
in thread what would you like to see in perl5.12?

The change I propose would have require search for Foo/Bar.pm and Foo/Bar.pmc when supplied "Foo::Bar" for argument, just like when it's supplied Foo::Bar for argument.

The only thing it would break is the ability to require modules with :: in the file name. That's extremely unlikely since it would break on Windows and old Macs.


Comment on Re^5: what would you like to see in perl5.12? (require $class)
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://634508]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2015-09-05 17:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (156 votes), past polls