<?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>Tue, 10 Jan 2012 18:35:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<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>

