4 )</span><span class="sc">;</span>
    
    <span class="c"># the encoded user:password pair</span>
    <span class="k">my</span> <span class="i">$token</span> = <span class="q">&quot;Basic &quot;</span> . <span class="i">encode_base64</span><span class="s">(</span> <span class="q">&quot;login:password&quot;</span> <span class="s">)</span><span class="sc">;</span>
    <span class="k">chomp</span> <span class="i">$token</span><span class="sc">;</span>    <span class="c"># grr</span>
    
    <span class="c"