CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Advanced:
hijack subs?


New User

Nov 26, 2008, 2:44 AM

Post #1 of 2 (1764 views)
hijack subs? Can't Post

Good morning ppl,

im looking for a way to interfere with subroutines.
basically i wanna run a code before entering the sub and at the closure. consistently hijack all subroutines in my app

I guess this wouldnt be a problem to do manually..
but im looking at >5000 subs and god knows how many recursions below.
as of today im not so keen to labour work :)

The inserted code is for self designed performance tuning and mapping purpose, so it requires quite high accuracy

Any ideas would be much appreciated.



New User

Nov 26, 2008, 6:12 AM

Post #2 of 2 (1760 views)
Re: [ArP] hijack subs? [In reply to] Can't Post

solution found..
the excellent Sub::WrapPackages saved the week



Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives