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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
hijack subs?

 



ArP
New User

Nov 26, 2008, 2:44 AM

Post #1 of 2 (1040 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.

cheers,

Fredrik


ArP
New User

Nov 26, 2008, 6:12 AM

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

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

Cheers,

 
 


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

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