<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Finding the cause of inexplicable warnings in XS code</title>
	<atom:link href="http://blog.timbunce.org/2008/05/08/finding-the-cause-of-inexplicable-warnings-in-xs-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.timbunce.org/2008/05/08/finding-the-cause-of-inexplicable-warnings-in-xs-code/</link>
	<description>Listen. Reflect. Explore. Solve.</description>
	<lastBuildDate>Sun, 14 Apr 2013 08:36:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By:  Mark Aufflick (@markaufflick)</title>
		<link>http://blog.timbunce.org/2008/05/08/finding-the-cause-of-inexplicable-warnings-in-xs-code/#comment-2614</link>
		<dc:creator><![CDATA[ Mark Aufflick (@markaufflick)]]></dc:creator>
		<pubDate>Thu, 17 May 2012 06:59:28 +0000</pubDate>
		<guid isPermaLink="false">http://timbunce.wordpress.com/?p=39#comment-2614</guid>
		<description><![CDATA[You can also attach gdb to the process and just break in the warn handler if statement. That way you can drop up a stack level and poke around.]]></description>
		<content:encoded><![CDATA[<p>You can also attach gdb to the process and just break in the warn handler if statement. That way you can drop up a stack level and poke around.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By:  Mark Aufflick (@markaufflick)</title>
		<link>http://blog.timbunce.org/2008/05/08/finding-the-cause-of-inexplicable-warnings-in-xs-code/#comment-2613</link>
		<dc:creator><![CDATA[ Mark Aufflick (@markaufflick)]]></dc:creator>
		<pubDate>Thu, 17 May 2012 06:20:30 +0000</pubDate>
		<guid isPermaLink="false">http://timbunce.wordpress.com/?p=39#comment-2613</guid>
		<description><![CDATA[Wow thanks Tim - this is perfect!]]></description>
		<content:encoded><![CDATA[<p>Wow thanks Tim &#8211; this is perfect!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn M Moore</title>
		<link>http://blog.timbunce.org/2008/05/08/finding-the-cause-of-inexplicable-warnings-in-xs-code/#comment-1080</link>
		<dc:creator><![CDATA[Shawn M Moore]]></dc:creator>
		<pubDate>Wed, 12 Aug 2009 18:21:01 +0000</pubDate>
		<guid isPermaLink="false">http://timbunce.wordpress.com/?p=39#comment-1080</guid>
		<description><![CDATA[Just to be a little friendlier to your users, I would gracefully overriding $SIG{__WARN__} instead of blindly overwriting it:

&lt;pre&gt;
    my $old_warn = $SIG{__WARN__} &#124;&#124; sub { warn @_ };
    local $SIG{__WARN__} = sub {
        CORE::dump if $_[0] =~ /uninitialized value in subroutine entry/;
        $old_warn-&gt;(@_);
    };
&lt;/pre&gt;

Handy trick though!]]></description>
		<content:encoded><![CDATA[<p>Just to be a little friendlier to your users, I would gracefully overriding $SIG{__WARN__} instead of blindly overwriting it:</p>
<pre>
    my $old_warn = $SIG{__WARN__} || sub { warn @_ };
    local $SIG{__WARN__} = sub {
        CORE::dump if $_[0] =~ /uninitialized value in subroutine entry/;
        $old_warn-&gt;(@_);
    };
</pre>
<p>Handy trick though!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Perl Coding School &#187; Blog Archive &#187; perl code [2008-05-08 11:12:01]</title>
		<link>http://blog.timbunce.org/2008/05/08/finding-the-cause-of-inexplicable-warnings-in-xs-code/#comment-170</link>
		<dc:creator><![CDATA[Perl Coding School &#187; Blog Archive &#187; perl code [2008-05-08 11:12:01]]]></dc:creator>
		<pubDate>Thu, 08 May 2008 11:21:55 +0000</pubDate>
		<guid isPermaLink="false">http://timbunce.wordpress.com/?p=39#comment-170</guid>
		<description><![CDATA[[...]  Finding the cause of inexplicable warnings in XS code  By TimBunce  Perl is reporting the last line of perl code that was executed at the same or higher level in the stack. So other perl code, such as a callback, may have been executed between entering xsub() and the warning being generated, &#8230;   Not this&#8230; - http://blog.timbunce.org [...]]]></description>
		<content:encoded><![CDATA[<p>[...]  Finding the cause of inexplicable warnings in XS code  By TimBunce  Perl is reporting the last line of perl code that was executed at the same or higher level in the stack. So other perl code, such as a callback, may have been executed between entering xsub() and the warning being generated, &#8230;   Not this&#8230; &#8211; <a href="http://blog.timbunce.org" rel="nofollow">http://blog.timbunce.org</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
