<?xml version="1.0" encoding="windows-1252"?>
<node id="1011070" title="Re: Updating a binary value in Net::LDAP" created="2012-12-31 11:06:47" updated="2012-12-31 11:06:47">
<type id="11">
note</type>
<author id="159887">
NetWallah</author>
<data>
<field name="doctext">
If we  call it an "octet string", instead of "binary", a concatenated octet string can be generated and stored like this (untested):
&lt;c&gt;
use Socket qw( inet_aton );
...
   fileStore =&gt; join ('', map {inet_aton $_} @mynets),
&lt;/c&gt;
This will be a concatenated string of 32-bit binary IP addresses (assuming IPv4), and can be written to a file.
&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-159887"&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;small&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
"By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest."
 &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; -Confucius
&lt;/small&gt;&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
1011061</field>
<field name="parent_node">
1011061</field>
</data>
</node>
