Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: RFC: Sub::Prepend - Prepend code to named subroutines

by grinder (Bishop)
on Jun 05, 2008 at 10:33 UTC ( #690386=note: print w/replies, xml ) Need Help??


in reply to RFC: Sub::Prepend - Prepend code to named subroutines

Have I missed any existing module that renders Sub::Prepend unnecessary?

I'm thinking of Hook::LexWrap.

Update: ah, I didn't read the fine documentation apparently...

• another intruder with the mooring in the heart of the Perl

  • Comment on Re: RFC: Sub::Prepend - Prepend code to named subroutines

Replies are listed 'Best First'.
Re^2: RFC: Sub::Prepend - Prepend code to named subroutines
by lodin (Hermit) on Jun 05, 2008 at 10:43 UTC

    Hook::LexWrap is one of the modules I mention under "Other modules" and, for my purposes, unnecessarily overloads caller that made me waste time on unnecessary debugging. That's when I decided that the dangers of that hackery aren't just hypothetical.

    lodin

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2022-05-24 21:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?