Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 exploiting the Monastery: (7)
As of 2014-08-31 07:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls