When i need this i use https://metacpan.org/pod/MIME::Base64. As in
Note the second parm of the empty string.use MIME::Base64; $buf='Authorization: Basic '.encode_base64($args{user}.':'.$args{passw +ord},'');
In reply to Re: Question about base64 encoded attributes with Net::LDAP::LDIF
by huck
in thread Question about base64 encoded attributes with Net::LDAP::LDIF
by steiner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |