<?xml version="1.0" encoding="windows-1252"?>
<node id="188124" title="Re: My first Obfuscated Perl Attempt" created="2002-08-06 15:19:25" updated="2005-07-06 03:36:24">
<type id="11">
note</type>
<author id="36507">
jynx</author>
<data>
<field name="doctext">
&lt;br&gt;
For further reference,&lt;p&gt;
There are many techniques for breaking up long lines, the two most common seem to be:
&lt;ul&gt;
&lt;li&gt;Concatenation&lt;br&gt;
Concatenating seperate lines together with the dot allows you to break things up, but it requires each seperate piece to be quoted.&lt;/li&gt;
&lt;li&gt;Substitution&lt;br&gt;
You can also just run the string past a substitution that eliminates newlines, which seems to be the more common method for lines as long as what you have there.&lt;/li&gt;
&lt;/ul&gt;
Applying each technique you could either get:&lt;code&gt;
# concatenation
eval pack"B416","0111000001110010011010010110111001110100001000". 
"00011100000110000101100011011010110010000000100010010000100011". 
"00110011001000100010001011000010000000100010001100000011000100". 
"11000100110000001100010011000000110001001100000011000000110001". 
"00110001001100000011000000110000001100000011000100110000001100". 
"01001100010011000100110000001100000011000000110000001100000011". 
"000100110001001100000011000100110000001100000011000000100010";;; 

# -or-

# substitution
$_="011100000111001001101001011011100111010000100000011100000110
0001011000110110101100100000001000100100001000110011001100100010
0010001011000010000000100010001100000011000100110001001100000011
0001001100000011000100110000001100000011000100110001001100000011
0000001100000011000000110001001100000011000100110001001100010011
0000001100000011000000110000001100000011000100110001001100000011
000100110000001100000011000000100010";s;\s;;g;eval pack"B416",$_
&lt;/code&gt;
Please excuse my penchant for making each line of similar length :)&lt;p&gt;
jynx</field>
<field name="root_node">
187952</field>
<field name="parent_node">
187952</field>
</data>
</node>
