I'd really like to be able to talk to Bob! unfortunately it is not working for me, I can access the the url that is stored in $url via a web browser but when I run the code I get the following error causing me problems: Can't call method "value" on an undefined value at C:\Documents and Settings\me\My Documents\work\perl\bob.pl line 35. So I figured I'd check out what I retrieved from $respons->content; This is what's retrieved
Initializing... <DIV class=Section1> <P class=MsoNormal style="mso-list: none; mso-list-ins: '' 19991102T2025" +>&nbsp; </P> <TABLE border=1 cellPadding=0 style="BORDER-BOTTOM: 4.5pt outset; BORDER-LEFT: 4.5pt + outset; BORDER-RIGHT: 4.5pt outset; BORDER-TOP: 4.5pt outset; WIDTH: 100%; m +so-cellspacing: 1.5pt" width="100%"> <TBODY> <TR> <TD style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; P +ADDING-RIGHT: 0.75pt; PADDING-TOP: 0.75pt" width="22%" valign="top"> <P class=MsoNormal><B>Problem Report</B></P> </TD> <TD style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; P +ADDING-RIGHT: 0.75pt; PADDING-TOP: 0.75pt" width="78%" valign="top"> <P class=MsoNormal>The Web proxy was not able to authe +nticate you through the authentication server because:&#32&#32<b>General a +uthentication failure due to bad user ID or authentication token.</b> You will not be able to browse the Web through this pr +oxy until your credentials can be retrieved and verified.</P> </TD> </TR> <tr> <td style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; P +ADDING-RIGHT: 0.75pt; PADDING-TOP: 0.75pt" width="22%" valign="top"> <p class=MsoNormal><b>Message ID</b></p> </td> <td style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; P +ADDING-RIGHT: 0.75pt; PADDING-TOP: 0.75pt" width="22%" valign="top"> <p class=MsoNormal>WWW_AUTH_FAIL_OTHER <p></p> </td> </tr> <TR> <TD style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; P +ADDING-RIGHT: 0.75pt; PADDING-TOP: 0.75pt" width="22%" valign="top"> <P class=MsoNormal><B>Problem Description</B></P> </TD> <TD style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; P +ADDING-RIGHT: 0.75pt; PADDING-TOP: 0.75pt" width="78%" valign="top"> <P class=MsoNormal>The user verification was not succe +ssful.</P> </TD> </TR> <TR> <TD style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; P +ADDING-RIGHT: 0.75pt; ADDING-TOP: 0.75pt" width="22%" valign="top"> <P class=MsoNormal><B>Problem Cause</B></P> </TD> <TD style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; P +ADDING-RIGHT: 0.75pt; PADDING-TOP: 0.75pt" width="78%" valign="top"> <P class=MsoNormal>This might be due to transient netw +ork problems or due to the user's not being authorized to use this Web proxy.</P> </TD> </TR> <TR> <TD style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; P +ADDING-RIGHT: 0.75pt; PADDING-TOP: 0.75pt" width="22%" valign="top"> <P class=MsoNormal><B>Possible Solution</B></P> </TD> <TD style="PADDING-BOTTOM: 0.75pt; PADDING-LEFT: 0.75pt; P +ADDING-RIGHT: 0.75pt; PADDING-TOP: 0.75pt" width="78%" valign="top"> <P class=MsoNormal>Contact your network su +pport team if this problem persists, and provide th +e team your account information.</P> </TD> </TR> </TBODY> </TABLE> Can't call method "value" on an undefined value at C:\Documents and Se +ttings\me\My Documents\work\perl\bob.pl line 35. <p>&nbsp;</p>
Any ideas, I'd really like to talk to Bob!

In reply to Re: Talk to Bob by djbiv
in thread Talk to Bob by chunlou

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.