07-27-2011
As far as I was able to understand, the lwp-request can exists as a separate tool from Perl,
here's an example of using it in a shell script.
HTH.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
my host run on a Free bsd server and i have a cgi script that requires LWP module, but i my host say that that module is installed, so i would like to know if the is a command because i have telnet access to know if the module or which modules are installed on my account (itīs that the script donīt... (4 Replies)
Discussion started by: Beto
4 Replies
2. Solaris
My company has a product that is running on JBoss on Solaris against Oracle 8.1.7. We are having an issue with the server process and high CPU utilization. During this time, and only during this time, we are experiencing database locks that will not let go. A 'ps -L' on the server process... (5 Replies)
Discussion started by: hosierdm
5 Replies
3. Shell Programming and Scripting
Hi,
I've a issue in writing a perl script that will automatically monitor the site availability.
There are two different cookies are set in two consecutive flows to a URL and this second cookie has to be passed to the third step which actually gives permission to access based upon the cookie. ... (1 Reply)
Discussion started by: dayanandra
1 Replies
4. Shell Programming and Scripting
Hi,
Could some one tell me how to login to any web site and get that page using perl LWP. I heard that we can login to the site using LWP.
I dont want to use WWW:Mechanize as I dont have that module installed on the server.
Appreciate your early response.
Thanks... (8 Replies)
Discussion started by: Anjan1
8 Replies
5. Shell Programming and Scripting
Can some one tell me how to post the username and password using perl LWP. An example is sufficient.. (0 Replies)
Discussion started by: Anjan1
0 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I'm having a problem when I run the following code for example
perl -e 'use LWP::Simple; getprint "http://google.com"'
Can't locate LWP/Simple.pm in @INC (@INC contains: /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6... (7 Replies)
Discussion started by: pawannoel
7 Replies
7. Shell Programming and Scripting
Hello all.. i am new to perl scripting.. i wanted to parse a text file, encode the parsed text and attach in url.. please point me to right resources if you know any..This is my major problem. Now i try to get a url running and save it in a text file using LWP module in perl, I used following... (0 Replies)
Discussion started by: empyrean
0 Replies
8. Solaris
Hi
I have a T4-1, equipped with Solaris 10 & VM 2.1-server Build (default build of 6 Guest domains. There 2 single port Fibre Cards
(1) How to I make accessible Local storage accessuibel to a Guest domain ?
I have 6 x 300GB disk and was thinking of cretaing a ZFS RAIDZ Pool from them prior,... (6 Replies)
Discussion started by: stevie_velvet
6 Replies
9. Shell Programming and Scripting
I am requesting for the text parsing section below. Any helps are highly appreciated.
<tr valign="top"><td nowrap>Source name</td>
<td style="text-align: justify">Sample Name<br></td>
I want Sample Name from above.
In the same file, I have to search for another pattern like this
<td><a... (1 Reply)
Discussion started by: jacobs.smith
1 Replies
LWP-DUMP(1) User Contributed Perl Documentation LWP-DUMP(1)
NAME
lwp-dump - See what headers and content is returned for a URL
SYNOPSIS
lwp-dump [ options ] URL
DESCRIPTION
The lwp-dump program will get the resource indentified by the URL and then dump the response object to STDOUT. This will display the
headers returned and the initial part of the content, escaped so that it's safe to display even binary content. The escapes syntax used is
the same as for Perl's double quoted strings. If there is no content the string "(no content)" is shown in its place.
The following options are recognized:
--agent str
Override the user agent string passed to the server.
--keep-client-headers
LWP internally generate various "Client-*" headers that are stripped by lwp-dump in order to show the headers exactly as the server
provided them. This option will suppress this.
--max-length n
How much of the content to show. The default is 512. Set this to 0 for unlimited.
If the content is longer then the string is chopped at the limit and the string "...
(### more bytes not shown)" appended.
--method str
Use the given method for the request instead of the default "GET".
--parse-head
By default lwp-dump will not try to initialize headers by looking at the head section of HTML documents. This option enables this.
This corresponds to "parse_head" in LWP::UserAgent.
--request
Also dump the request sent.
SEE ALSO
lwp-request, LWP, "dump" in HTTP::Message
perl v5.16.2 2012-01-13 LWP-DUMP(1)