Stories
Slash Boxes
Comments
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)

TeeJay
  (email not shown publicly)
http://www.aarontrevena.co.uk/

Working in Truro
Graduate with BSc (Hons) in Computer Systems and Networks
pm : london.pm, bath.pm, devoncornwall.pm
lug : Devon & Cornwall LUG
CPAN : TEEJAY [cpan.org]
irc : TeeJay
skype : hashbangperl
livejournal : hashbangperl [livejournal.com]
flickr :hashbangperl [flickr.com]

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.
 Full
 Abbreviated
 Hidden
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;