An appendix to the above reply,
When i tried changing the credential line to the one shown below
$ua->credentials('punsez138451d/L3NOCALM:80','',"INFLEVEL3\\venkatesan
+_g02",'password');
I am getting the following error
C:\Documents and Settings\venkatesan_G02\Desktop>perl automate.pl
--Performing request now...------------------
--Done with request---------------------------
It didn't work!->401
401 Unauthorized
Date: Wed, 08 Apr 2009 19:02:07 GMT
Server: Microsoft-IIS/6.0
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
Content-Length: 1656
Content-Type: text/html
Content-Type: text/html; charset=Windows-1252
Client-Date: Wed, 08 Apr 2009 19:02:08 GMT
Client-Peer: 4.33.38.79:80
Client-Response-Num: 1
Client-Warning: Unsupported authentication scheme 'negotiate'
MicrosoftSharePointTeamServices: 12.0.0.4518
Title: You are not authorized to view this page
X-Powered-By: ASP.NET
Thanks in advance
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.