Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

TeeJay (2309)

  (email not shown publicly)

Working in Truro
Graduate with BSc (Hons) in Computer Systems and Networks
pm :,,
lug : Devon & Cornwall LUG
irc : TeeJay
skype : hashbangperl
livejournal : hashbangperl []
flickr :hashbangperl []

Journal of TeeJay (2309)

Monday May 17, 2004
06:49 AM

saved by Sub::WrapPackages

[ #18787 ]
Sub::WrapPackages looks like it could help me track down a bug in tangram where it fails to add a table to an autogenerated query.

It wraps and automates DCONWAY's Hook::LexWrap, very handy.

If this doesn't work - any other suggestions for finding a subtle bug in a complex twisty 'optimised' framework like tangram ?

oh dear - looks like another problem with debian - RCLAMP's Pod::Coverage breaks.. bah - hope I can get this working as debugging tangram is very very painful.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • ... and patches are welcome to:
    • remove the dependency on Pod::Coverage, into whose guts I delve, using a private method;
    • stop it segfaulting when wrapped subs are called in void context
    The latter is a bug in Hook::LexWrap but - obviously - a wrapper around that should be able to debuggerify it. I suppose it's also a bug in perl. Perl code should not be able to make perl segfault.
    • for some reason, Sub::WrapPackages was unable to see into Tangram and attach itself to all the functions in T2::* and Tangram::** so I had to grep the modules for sub and then do some munging with search and replace in emacs to generate hundreds of wrap commands for Hook::LexWrap.


      @JAPH = qw(Hacker Perl Another Just);
      print reverse @JAPH;