<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1013315" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1013315</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/my-keyword#comment-1077339</link>
    <description> &lt;p&gt;&#039;use strict&#039;... is this like &#039;Option Explicit&#039;?&lt;/p&gt;
&lt;p&gt;Thanks Rob, that example helps a lot. (I can &lt;strong&gt;see&lt;/strong&gt; the box of code....)&lt;/p&gt;
 </description>
     <pubDate>Sat, 27 Jan 2001 06:44:02 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1077339 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/my-keyword#comment-1077305</link>
    <description> &lt;p&gt;Here is a little code snippet to understand it a little more.&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;my $fn = &amp;#039;rob&amp;#039;;&lt;br /&gt;{&lt;br /&gt;	my $ln = &amp;#039;pengelly&amp;#039;;&lt;br /&gt;	print &amp;quot;$fn $ln&amp;quot;; # output: &amp;quot;rob pengelly&amp;quot;&lt;br /&gt;}&lt;br /&gt;print &amp;quot;\n$fn $ln&amp;quot;; # output: &amp;quot;rob &amp;quot;&lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
As you can see, $ln can only be accessed inside the block, while $fn can be accessed anywhere.&lt;/p&gt;
 </description>
     <pubDate>Fri, 26 Jan 2001 16:40:10 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1077305 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/my-keyword#comment-1077298</link>
    <description> &lt;p&gt;&#039;my&#039; declares the variable. it&#039;s mostly used with the &#039;use strict;&#039; at the top of the script.&lt;/p&gt;
&lt;p&gt;it saves people loads of time if they are trying to trouble shoot scripts. if you mistype a variable it will be a lot easier to find if you do use the &#039;use strict;&#039; and my in front of variables.&lt;/p&gt;
&lt;p&gt;it&#039;s also used for declaring local variables in functions.&lt;/p&gt;
&lt;p&gt;hope that helps&lt;/p&gt;
 </description>
     <pubDate>Fri, 26 Jan 2001 14:37:41 +0000</pubDate>
 <dc:creator>Orpheus</dc:creator>
 <guid isPermaLink="false">comment 1077298 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
