<?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/"
		>
<channel>
	<title>Comments on: Can&#8217;t really override open()?</title>
	<atom:link href="http://blog.laufeyjarson.com/2010/12/cant-really-override-open/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.laufeyjarson.com/2010/12/cant-really-override-open/</link>
	<description>... notes, thoughts, rants, and randomness.</description>
	<lastBuildDate>Mon, 08 Apr 2013 21:01:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Laufeyjarson</title>
		<link>http://blog.laufeyjarson.com/2010/12/cant-really-override-open/comment-page-1/#comment-32716</link>
		<dc:creator>Laufeyjarson</dc:creator>
		<pubDate>Mon, 13 Jun 2011 22:19:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.laufeyjarson.com/?p=127#comment-32716</guid>
		<description><![CDATA[And now, no, I can&#039;t get it to work either.  I tried Perl 5.10.0, as installed by Apple, and a clean install of 5.12.3.  It&#039;s something I&#039;m doing wrong, not Perl.]]></description>
		<content:encoded><![CDATA[<p>And now, no, I can&#8217;t get it to work either.  I tried Perl 5.10.0, as installed by Apple, and a clean install of 5.12.3.  It&#8217;s something I&#8217;m doing wrong, not Perl.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laufeyjarson</title>
		<link>http://blog.laufeyjarson.com/2010/12/cant-really-override-open/comment-page-1/#comment-32706</link>
		<dc:creator>Laufeyjarson</dc:creator>
		<pubDate>Mon, 13 Jun 2011 16:32:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.laufeyjarson.com/?p=127#comment-32706</guid>
		<description><![CDATA[The suggestions in the comments above were enough to get me unblocked.

I&#039;m on a wildly different machine now, and can&#039;t get the open() replacement called.  Hrm.  Let me fiddle with it...]]></description>
		<content:encoded><![CDATA[<p>The suggestions in the comments above were enough to get me unblocked.</p>
<p>I&#8217;m on a wildly different machine now, and can&#8217;t get the open() replacement called.  Hrm.  Let me fiddle with it&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antonio Bonifati</title>
		<link>http://blog.laufeyjarson.com/2010/12/cant-really-override-open/comment-page-1/#comment-32703</link>
		<dc:creator>Antonio Bonifati</dc:creator>
		<pubDate>Mon, 13 Jun 2011 16:01:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.laufeyjarson.com/?p=127#comment-32703</guid>
		<description><![CDATA[Hey Laufey, did you find a way that works?

I&#039;m trying to do the same thing in Perl 5.12.3 and am at my wits&#039; end :(]]></description>
		<content:encoded><![CDATA[<p>Hey Laufey, did you find a way that works?</p>
<p>I&#8217;m trying to do the same thing in Perl 5.12.3 and am at my wits&#8217; end :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laufeyjarson</title>
		<link>http://blog.laufeyjarson.com/2010/12/cant-really-override-open/comment-page-1/#comment-23954</link>
		<dc:creator>Laufeyjarson</dc:creator>
		<pubDate>Mon, 13 Dec 2010 01:09:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.laufeyjarson.com/?p=127#comment-23954</guid>
		<description><![CDATA[Two smart commenters with the same idea.  I forgot the alias effect there; I almost never depend on it.

I&#039;ll have to give that a try and see what I can see.  It really shouldn&#039;t matter how it&#039;s called then, as open will cope with whatever it gets.

I&#039;ll have to fiddle with it when I have a moment.  Traveling may put that off a bit.  =)]]></description>
		<content:encoded><![CDATA[<p>Two smart commenters with the same idea.  I forgot the alias effect there; I almost never depend on it.</p>
<p>I&#8217;ll have to give that a try and see what I can see.  It really shouldn&#8217;t matter how it&#8217;s called then, as open will cope with whatever it gets.</p>
<p>I&#8217;ll have to fiddle with it when I have a moment.  Traveling may put that off a bit.  =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian d foy</title>
		<link>http://blog.laufeyjarson.com/2010/12/cant-really-override-open/comment-page-1/#comment-23851</link>
		<dc:creator>brian d foy</dc:creator>
		<pubDate>Sun, 12 Dec 2010 08:48:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.laufeyjarson.com/?p=127#comment-23851</guid>
		<description><![CDATA[It works when I use $_[0]. It&#039;s just like any other modification of the elements of @_: what you put there affects the variable that you passed:



sub open(*;$@) {
    unless( defined $_[0] ) {
    	CORE::open( $_[0], $mode, $filename );
    	}
}
]]></description>
		<content:encoded><![CDATA[<p>It works when I use $_[0]. It&#8217;s just like any other modification of the elements of @_: what you put there affects the variable that you passed:</p>
<p>sub open(*;$@) {<br />
    unless( defined $_[0] ) {<br />
    	CORE::open( $_[0], $mode, $filename );<br />
    	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://blog.laufeyjarson.com/2010/12/cant-really-override-open/comment-page-1/#comment-23848</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Sun, 12 Dec 2010 08:03:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.laufeyjarson.com/?p=127#comment-23848</guid>
		<description><![CDATA[USe $_[0], its an alias for the variable passed in
sub open(*;$@) {

    print Dumper(\@_), &quot;\n&quot;;
    CORE::open $_[0], $_[1], $_[2];


}]]></description>
		<content:encoded><![CDATA[<p>USe $_[0], its an alias for the variable passed in<br />
sub open(*;$@) {</p>
<p>    print Dumper(\@_), &#8220;\n&#8221;;<br />
    CORE::open $_[0], $_[1], $_[2];</p>
<p>}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
