http://www.perlmonks.org?node_id=1011287


in reply to Re: Updating a binary value in Net::LDAP
in thread Updating a binary value in Net::LDAP

Many thanks NetWallah,

Looking at my original post I neglected to point out that the output sound have been a list of IP addresses with the text " OK" appended to each entry so the inet_aton() function was not going to work. However your suggestion to use the map() function was exactly what I needed and with your guidance the code below does what I need:

fileStore => join ('', map {$_ .= "\tok\n" } @mynets),
Just what I needed, thank you for your speedy response.

|\/|