<?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: Perl Aliases &amp; Dynamically Scoped Variables</title>
	<atom:link href="http://wdr1.com/blog/2005/08/27/perl-aliases-dynamically-scoped-variables/feed/" rel="self" type="application/rss+xml" />
	<link>http://wdr1.com/blog/2005/08/27/perl-aliases-dynamically-scoped-variables/</link>
	<description>Screams in the Night</description>
	<lastBuildDate>Wed, 02 May 2012 17:49:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Bill</title>
		<link>http://wdr1.com/blog/2005/08/27/perl-aliases-dynamically-scoped-variables/comment-page-1/#comment-573</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Mon, 29 Aug 2005 03:37:29 +0000</pubDate>
		<guid isPermaLink="false">http://wdr1.com/blog/?p=318#comment-573</guid>
		<description>Limiting my poor verbal form to just today is too kind. ;)
</description>
		<content:encoded><![CDATA[<p>Limiting my poor verbal form to just today is too kind. ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeffrey Friedl</title>
		<link>http://wdr1.com/blog/2005/08/27/perl-aliases-dynamically-scoped-variables/comment-page-1/#comment-572</link>
		<dc:creator>Jeffrey Friedl</dc:creator>
		<pubDate>Sun, 28 Aug 2005 21:00:44 +0000</pubDate>
		<guid isPermaLink="false">http://wdr1.com/blog/?p=318#comment-572</guid>
		<description>Oh, I guess I see what you mean. You&#039;re not in good verbal form today, though, as the value of any non-constant variable tends to depend on the execution path, no? :-)


&quot;local&quot; is an action which has no influence on the scope of the variable (on where in the code the variable is accessable from). It merely makes a copy of the current value and schedules that copied value to be put back at the close of the current lexical scope. You could consider that the varialble&#039;s *value* has been dynamically scoped, an issue which seems unrelated to your original post about making aliases.

I&#039;m curious to look at Lexical::Alias to see how it was done. In pure Perl, I figure it&#039;d have to be done with a tied variable or, gee, perhaps overloading could do it?  It&#039;s not something I ever recall having needed....</description>
		<content:encoded><![CDATA[<p>Oh, I guess I see what you mean. You&#8217;re not in good verbal form today, though, as the value of any non-constant variable tends to depend on the execution path, no? :-)</p>
<p>&#8220;local&#8221; is an action which has no influence on the scope of the variable (on where in the code the variable is accessable from). It merely makes a copy of the current value and schedules that copied value to be put back at the close of the current lexical scope. You could consider that the varialble&#8217;s *value* has been dynamically scoped, an issue which seems unrelated to your original post about making aliases.</p>
<p>I&#8217;m curious to look at Lexical::Alias to see how it was done. In pure Perl, I figure it&#8217;d have to be done with a tied variable or, gee, perhaps overloading could do it?  It&#8217;s not something I ever recall having needed&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://wdr1.com/blog/2005/08/27/perl-aliases-dynamically-scoped-variables/comment-page-1/#comment-571</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Sun, 28 Aug 2005 16:24:42 +0000</pubDate>
		<guid isPermaLink="false">http://wdr1.com/blog/?p=318#comment-571</guid>
		<description>I think using &#039;local&#039; was refered to a dynamic as the value can depend upon a particular path of execution?</description>
		<content:encoded><![CDATA[<p>I think using &#8216;local&#8217; was refered to a dynamic as the value can depend upon a particular path of execution?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeffrey Friedl</title>
		<link>http://wdr1.com/blog/2005/08/27/perl-aliases-dynamically-scoped-variables/comment-page-1/#comment-570</link>
		<dc:creator>Jeffrey Friedl</dc:creator>
		<pubDate>Sun, 28 Aug 2005 13:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://wdr1.com/blog/?p=318#comment-570</guid>
		<description>What is dynamic about the scope of any perl variable? All named variables are statically scoped (&#039;my&#039; variables are visible from within a specific lexical scope defined at compile time; global variables are visible from everywhere).</description>
		<content:encoded><![CDATA[<p>What is dynamic about the scope of any perl variable? All named variables are statically scoped (&#8216;my&#8217; variables are visible from within a specific lexical scope defined at compile time; global variables are visible from everywhere).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

