Using the LWP package, we can easily access resources on external web servers in our perl scripts.
Why use LWP?
Today's website applications are becoming more and more complex. It is simply impossible to simply write a Sockettelnet to obtain resources using the GET command, especially for some websites that require passwords to log in.
If you just want to simply obtain some resources without writing too much complicated code, then you should choose a suitable encapsulated HTTPD module.
These files are indeed not used much in China. They are files generated by the word processing software used by the old Lotus Company. Use Lotus WordPro software (Lotus WordPro software) to open and view LWP. This is the Lotus file format. Please use IBM Lotus to open it.
What can be done?
1. Use the URL to read the file from the remote Web Server.
2. Use POST method to send form request to Web Server.
3. Update the recently updated files of the remote Webserver.
4. Parse the HTML document and obtain the "link" and some required data.
5. Convert HTML into plain text files or Postscript files.
6. Handle cookies, HTTP redirects, proxy servers, and HTTP user authentication. These special events.