<?xml version="1.0" encoding="windows-1252"?>
<node id="996701" title="Re: Mr. BlindNewB question regarding spacing" created="2012-10-01 13:42:06" updated="2012-10-01 13:42:06">
<type id="11">
note</type>
<author id="622051">
toolic</author>
<data>
<field name="doctext">
&lt;blockquote&gt;&lt;i&gt;
Can someone tell me if these two scripts will produce the EXACT same results?
&lt;/i&gt;&lt;/blockquote&gt;

You can determine if the output is identical yourself by using [man://diff]:

&lt;c&gt;
orig.pl &gt; out1
mod.pl &gt; out2
diff out1 out2
&lt;/c&gt;

&lt;p&gt;See also:

&lt;ul&gt;
&lt;li&gt;Read [id://17558], then modify your post, using code tags.
&lt;li&gt;[mod://perltidy] is a way to automate coed layout (whitespace).
&lt;/ul&gt;

&lt;p&gt;UPDATE: from [doc://perlsyn]:


&lt;blockquote&gt;
Perl is a free-form language: you can format and indent it however you like. Whitespace serves mostly to separate tokens, unlike languages like Python where it is an important part of the syntax, or Fortran where it is immaterial.
&lt;/blockquote&gt;
</field>
<field name="root_node">
996700</field>
<field name="parent_node">
996700</field>
</data>
</node>
