Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^5: RFC: feature proposal re code in @INC

by perrin (Chancellor)
on Jan 26, 2006 at 20:41 UTC ( [id://525834]=note: print w/replies, xml ) Need Help??


in reply to Re^4: RFC: feature proposal re code in @INC
in thread RFC: feature proposal re code in @INC

What I worry about is that someone else may do something bizarre in their CPAN module (like putting something bizarre in @INC) which will break my code elsewhere (like code to check modules in @INC for changes under mod_perl). If all the magical things in perl could be safely ignored by people who choose not to use them, this would be less of an issue. For a real world example, see the recent problems on the Catalyst mailing list with YAML, which uses Spiffy and apparently modifies the way 'use base' works in other modules.
  • Comment on Re^5: RFC: feature proposal re code in @INC

Replies are listed 'Best First'.
Re^6: RFC: feature proposal re code in @INC
by chromatic (Archbishop) on Jan 27, 2006 at 00:42 UTC

    That's a very good point. Perl 5 does have more than a few unhygenic corners.

    (I was under the impression that Catalyst's biggest problem is multiple inheritance. What do you mean plugin method names collide? Who could possibly have seen that coming...)

      Surprisingly that never happened, and we already have over 100 plugins. :)

      Btw. Devel::Nextalyzer is a great tool to visualize multiple inheritance (and in turn prevent collisions).
Re^6: RFC: feature proposal re code in @INC
by diotalevi (Canon) on Jan 26, 2006 at 23:58 UTC

    That's just ingy. Most people produce code saner than that.

    ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2024-04-16 09:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found