title: When trying to create a SSL connection with LWP::UserAgent, what do I use for realm?
body: <p>I've started a project to scrape my work's employee website to scrape the user's (in this case, mine) schedule and munge the data onto a google calendar.  I've decided to go with Perl with LWP.</p>
  
  <p>The problem is this, when trying to set up SSL negotiations I don't know what do put for the 'realm'.</p>
  
  <p>For example: (<a href="http://www.sciencemedianetwork.org/wiki/Form_submission_with_LWP,_https,_and_authentication" rel="nofollow">http://www.sciencemedianetwork.org/wiki/Form_submission_with_LWP,_https,_and_authentication</a>)</p>
  
  <pre><code># ... 
  my $ua = new LWP::UserAgent;
  
  $ua-&gt;protocols_allowed( [ 'http','https'] );
  $ua-&gt;credentials('some.server:443',**'realm'**,'username','password');
  # ...
  </code></pre>
  
  <p>I've looked at everything my browser can tell me and at a wireshark packet capture trying to find anything but to no avail.  I assume that second argument to credentials() isn't optional.  </p>
  
  <p>Where do I find the 'realm' I'm supposed to use?</p>