Opis ebooka: Perl & LWP
Perl soared to popularity as a language for creating and managing web content, but with LWP (Library for WWW in Perl), Perl is equally adept at consuming information on the Web. LWP is a suite of modules for fetching and processing web pages.The Web is a vast data source that contains everything from stock prices to movie credits, and with LWP all that data is just a few lines of code away. Anything you do on the Web, whether it's buying or selling, reading or writing, uploading or downloading, news to e-commerce, can be controlled with Perl and LWP. You can automate Web-based purchase orders as easily as you can set up a program to download MP3 files from a web site.Perl & LWP covers:
- Understanding LWP and its design
- Fetching and analyzing URLs
- Extracting information from HTML using regular expressions and tokens
- Working with the structure of HTML documents using trees
- Setting and inspecting HTTP headers and response codes
- Managing cookies
- Accessing information that requires authentication
- Extracting links
- Cooperating with proxy caches
- Writing web spiders (also known as robots) in a safe fashion
Wybrane bestsellery
-
Rich Text Format, or RTF, is the internal markup language used by Microsoft Word and understood by dozens of other word processors. RTF is a universal file format that pervades practically every desktop. Because RTF is text, it's much easier to generate and process than binary .doc files. Any pr...(29.67 zł najniższa cena z 30 dni)
29.67 zł
34.90 zł(-15%) -
If you're just getting started with Perl, this is the book you want—whether you're a programmer, system administrator, or web hacker. Nicknamed "the Llama" by two generations of users, this best seller closely follows the popular introductory Perl course taught by the authors since 1991. Th...(186.15 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
This practical XGBoost guide will put your Python and scikit-learn knowledge to work by showing you how to build powerful, fine-tuned XGBoost models with impressive speed and accuracy. This book will help you to apply XGBoost’s alternative base learners, use unique transformers for model d...
Hands-On Gradient Boosting with XGBoost and scikit-learn. Perform accessible machine learning and extreme gradient boosting with Python Hands-On Gradient Boosting with XGBoost and scikit-learn. Perform accessible machine learning and extreme gradient boosting with Python
-
f you’re ready to get started with Raku (formerly Perl 6), this is the book you want, whether you’re a programmer, system administrator, or web hacker. Raku is a new language—a modern reinvention of Perl suitable for almost any task, from short fixes to complete web applications...
Learning Perl 6. Keeping the Easy, Hard, and Impossible Within Reach Learning Perl 6. Keeping the Easy, Hard, and Impossible Within Reach
(186.15 zł najniższa cena z 30 dni)186.15 zł
219.00 zł(-15%) -
Perl is a family of high-level, general-purpose, interpreted, dynamic programming languages consisting of Perl 5 and Perl 6. Perl 6 helps developers write concise and declarative code that is easy to maintain. This book is an end-to-end guide that will help non-Perl developers get to grips with t...
Perl 6 Deep Dive. Data manipulation, concurrency, functional programming, and more Perl 6 Deep Dive. Data manipulation, concurrency, functional programming, and more
-
Want to learn how to program and think like a computer scientist? This practical guide gets you started on your programming journey with the help of Perl 6, the younger sister of the popular Perl programming language. Ideal for beginners, this hands-on book includes over 100 exercises with multip...
Think Perl 6. How to Think Like a Computer Scientist Think Perl 6. How to Think Like a Computer Scientist
(186.15 zł najniższa cena z 30 dni)186.15 zł
219.00 zł(-15%) -
Many programmers would love to use Perl for projects that involve heavy lifting, but miss the many traditional algorithms that textbooks teach for other languages. Computer scientists have identified many techniques that a wide range of programs need, such as:Fuzzy pattern matching for text (id...
Mastering Algorithms with Perl. Practical Programming Through Computer Science Mastering Algorithms with Perl. Practical Programming Through Computer Science
(118.15 zł najniższa cena z 30 dni)118.15 zł
139.00 zł(-15%) -
Take the next step toward Perl mastery with advanced concepts that make coding easier, maintenance simpler, and execution faster. Mastering Perl isn't a collection of clever tricks, but a way of thinking about Perl programming for solving debugging, configuration, and many other real-world proble...(143.65 zł najniższa cena z 30 dni)
143.65 zł
169.00 zł(-15%) -
Perl. Mistrzostwo w programowaniu" to wyjątkowa książka pomagająca w samodzielnej nauce, przeznaczona dla programistów, którzy używali już Perla i znają jego podstawy. Podążając za radami z tego przewodnika, nauczysz się definiować procedury i odwracać zwykły model programowania proceduralnego. B...(22.00 zł najniższa cena z 30 dni)
14.90 zł
44.00 zł(-66%) -
Dzięki książce odkryjesz mało znane i mniej typowe zastosowania tego języka. Czytając ją, dowiesz się, w jaki sposób wykorzystać Perl do różnych zadań.(19.50 zł najniższa cena z 30 dni)
9.90 zł
39.00 zł(-75%)
Ebooka "Perl & LWP" przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka "Perl & LWP" posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video "Perl & LWP" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
Szczegóły ebooka
- ISBN Ebooka:
- 978-05-965-5209-1, 9780596552091
- Data wydania ebooka:
- 2002-06-20 Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 1010.2kB
- Rozmiar pliku Mobi:
- 2.8MB
Spis treści ebooka
- Perl & LWP
- SPECIAL OFFER: Upgrade this ebook with OReilly
- A Note Regarding Supplemental Files
- Foreword
- Preface
- Audience for This Book
- Structure of This Book
- Order of Chapters
- Important Standards Documents
- Conventions Used in This Book
- Comments & Questions
- Acknowledgments
- 1. Introduction to Web Automation
- 1.1. The Web as Data Source
- 1.1.1. Screen Scraping
- 1.1.2. Brittleness
- 1.1.3. Web Services
- 1.1. The Web as Data Source
- 1.2. History of LWP
- 1.3. Installing LWP
- 1.3.1. Installing LWP from the CPAN Shell
- 1.3.1.1. Configuring
- 1.3.1.2. Obtaining help
- 1.3.1.3. Installing LWP
- 1.3.1. Installing LWP from the CPAN Shell
- 1.3.2. Installing LWP Manually
- 1.3.2.1. Download distributions
- 1.3.2.2. Unpack and configure
- 1.3.2.3. Make, test, and install
- 1.4. Words of Caution
- 1.4.1. Network and Server Load
- 1.4.2. Copyright
- 1.4.3. Acceptable Use
- 1.5. LWP in Action
- 1.5.1. The Object-Oriented Interface
- 1.5.2. Forms
- 1.5.3. Parsing HTML
- 1.5.4. Authentication
- 2. Web Basics
- 2.1. URLs
- 2.2. An HTTP Transaction
- 2.2.1. Request
- 2.2.2. Response
- 2.3. LWP::Simple
- 2.3.1. Basic Document Fetch
- 2.3.2. Fetch and Store
- 2.3.3. Fetch and Print
- 2.3.4. Previewing with HEAD
- 2.4. Fetching Documents Without LWP::Simple
- 2.5. Example: AltaVista
- 2.6. HTTP POST
- 2.7. Example: Babelfish
- 3. The LWP Class Model
- 3.1. The Basic Classes
- 3.2. Programming with LWP Classes
- 3.3. Inside the do_GET and do_POST Functions
- 3.4. User Agents
- 3.4.1. Connection Parameters
- 3.4.2. Request Parameters
- 3.4.3. Protocols
- 3.4.4. Redirection
- 3.4.5. Authentication
- 3.4.6. Proxies
- 3.4.7. Request Methods
- 3.4.7.1. Saving response content to a file
- 3.4.7.2. Sending response content to a callback
- 3.4.7.3. Mirroring a URL to a file
- 3.4.8. Advanced Methods
- 3.5. HTTP::Response Objects
- 3.5.1. Status Line
- 3.5.2. Content
- 3.5.3. Headers
- 3.5.4. Expiration Times
- 3.5.5. Base for Relative URLs
- 3.5.6. Debugging
- 3.6. LWP Classes: Behind the Scenes
- 4. URLs
- 4.1. Parsing URLs
- 4.1.1. Constructors
- 4.1.2. Output
- 4.1.3. Comparison
- 4.1.4. Components of a URL
- 4.1.5. Queries
- 4.1. Parsing URLs
- 4.2. Relative URLs
- 4.3. Converting Absolute URLs to Relative
- 4.4. Converting Relative URLs to Absolute
- 5. Forms
- 5.1. Elements of an HTML Form
- 5.2. LWP and GET Requests
- 5.2.1. GETting Fixed URLs
- 5.2.2. GETting a query_form( ) URL
- 5.3. Automating Form Analysis
- 5.4. Idiosyncrasies of HTML Forms
- 5.4.1. Hidden Elements
- 5.4.2. Text Elements
- 5.4.3. Password Elements
- 5.4.4. Checkboxes
- 5.4.5. Radio Buttons
- 5.4.6. Submit Buttons
- 5.4.7. Image Buttons
- 5.4.8. Reset Buttons
- 5.4.9. File Selection Elements
- 5.4.10. Textarea Elements
- 5.4.11. Select Elements and Option Elements
- 5.5. POST Example: License Plates
- 5.5.1. The Form
- 5.5.2. Use formpairs.pl
- 5.5.3. Translating This into LWP
- 5.6. POST Example: ABEBooks.com
- 5.6.1. The Form
- 5.6.2. Translating This into LWP
- 5.6.3. Adding Features
- 5.6.4. Generalizing the Program
- 5.7. File Uploads
- 5.8. Limits on Forms
- 6. Simple HTML Processing with Regular Expressions
- 6.1. Automating Data Extraction
- 6.2. Regular Expression Techniques
- 6.2.1. Anchor Your Match
- 6.2.2. Whitespace
- 6.2.3. Embedded Newlines
- 6.2.4. Minimal and Greedy Matches
- 6.2.5. Capture
- 6.2.6. Repeated Matches
- 6.2.7. Develop from Components
- 6.2.8. Use Multiple Steps
- 6.3. Troubleshooting
- 6.4. When Regular Expressions Arent Enough
- 6.5. Example: Extracting Linksfrom a Bookmark File
- 6.6. Example: Extracting Linksfrom Arbitrary HTML
- 6.7. Example: Extracting Temperatures from Weather Underground
- 7. HTML Processing with Tokens
- 7.1. HTML as Tokens
- 7.2. Basic HTML::TokeParser Use
- 7.2.1. Start-Tag Tokens
- 7.2.2. End-Tag Tokens
- 7.2.3. Text Tokens
- 7.2.4. Comment Tokens
- 7.2.5. Markup Declaration Tokens
- 7.2.6. Processing Instruction Tokens
- 7.3. Individual Tokens
- 7.3.1. Checking Image Tags
- 7.3.2. HTML Filters
- 7.4. Token Sequences
- 7.4.1. Example: BBC Headlines
- 7.4.2. Translating the Problem into Code
- 7.4.3. Bundling into a Program
- 7.5. More HTML::TokeParser Methods
- 7.5.1. The get_text( ) Method
- 7.5.2. The get_text( ) Method with Parameters
- 7.5.3. The get_trimmed_text( ) Method
- 7.5.4. The get_tag( ) Method
- 7.5.4.1. Start-tags
- 7.5.4.2. End-tags
- 7.5.5. The get_tag( ) Method with Parameters
- 7.6. Using Extracted Text
- 8. Tokenizing Walkthrough
- 8.1. The Problem
- 8.2. Getting the Data
- 8.3. Inspecting the HTML
- 8.4. First Code
- 8.5. Narrowing In
- 8.6. Rewrite for Features
- 8.6.1. Debuggability
- 8.6.2. Images and Applets
- 8.6.3. Link Text
- 8.6.4. Live Data
- 8.7. Alternatives
- 9. HTML Processing with Trees
- 9.1. Introduction to Trees
- 9.2. HTML::TreeBuilder
- 9.2.1. Constructors
- 9.2.2. Parse Options
- 9.2.3. Parsing
- 9.2.4. Cleanup
- 9.3. Processing
- 9.3.1. Methods for Searching the Tree
- 9.3.2. Attributes of a Node
- 9.3.3. Traversing
- 9.4. Example: BBC News
- 9.5. Example: Fresh Air
- 10. Modifying HTML with Trees
- 10.1. Changing Attributes
- 10.1.1. Whitespace
- 10.1.2. Other HTML Options
- 10.1. Changing Attributes
- 10.2. Deleting Images
- 10.3. Detaching and Reattaching
- 10.3.1. The detach_content( ) Method
- 10.3.2. Constraints
- 10.4. Attaching in Another Tree
- 10.4.1. Retaining Comments
- 10.4.2. Accessing Comments
- 10.4.3. Attaching Content
- 10.5. Creating New Elements
- 10.5.1. Literals
- 10.5.2. New Nodes from Lists
- 11. Cookies, Authentication,and Advanced Requests
- 11.1. Cookies
- 11.1.1. Enabling Cookies
- 11.1.2. Loading Cookies from a File
- 11.1.3. Saving Cookies to a File
- 11.1.4. Cookies and the New York Times Site
- 11.1. Cookies
- 11.2. Adding Extra Request Header Lines
- 11.2.1. Pretending to Be Netscape
- 11.2.2. Referer
- 11.3. Authentication
- 11.3.1. Comparing Cookies with Basic Authentication
- 11.3.2. Authenticating via LWP
- 11.3.3. Security
- 11.4. An HTTP Authentication Example:The Unicode Mailing Archive
- 12. Spiders
- 12.1. Types of Web-Querying Programs
- 12.2. A User Agent for Robots
- 12.3. Example: A Link-Checking Spider
- 12.3.1. The Basic Spider Logic
- 12.3.2. Overall Design in the Spider
- 12.3.3. HEAD Response Processing
- 12.3.4. Redirects
- 12.3.5. Link Extraction
- 12.3.6. Fleshing Out the URL Scheduling
- 12.3.7. The Rest of the Code
- 12.4. Ideas for Further Expansion
- A. LWP Modules
- B. HTTP Status Codes
- B.1. 100s: Informational
- B.2. 200s: Successful
- B.3. 300s: Redirection
- B.4. 400s: Client Errors
- B.5. 500s: Server Errors
- C. Common MIME Types
- D. Language Tags
- E. Common Content Encodings
- F. ASCII Table
- G. User's View of Object-Oriented Modules
- G.1. A User's View of Object-Oriented Modules
- G.2. Modules and Their Functional Interfaces
- G.3. Modules with Object-Oriented Interfaces
- G.4. What Can You Do with Objects?
- G.5. What's in an Object?
- G.6. What Is an Object Value?
- G.7. So Why Do Some Modules Use Objects?
- G.8. The Gory Details
- Index
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OReilly
O'Reilly Media - inne książki
-
JavaScript gives web developers great power to create rich interactive browser experiences, and much of that power is provided by the browser itself. Modern web APIs enable web-based applications to come to life like never before, supporting actions that once required browser plug-ins. Some are s...(177.65 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
How will software development and operations have to change to meet the sustainability and green needs of the planet? And what does that imply for development organizations? In this eye-opening book, sustainable software advocates Anne Currie, Sarah Hsu, and Sara Bergman provide a unique overview...(160.65 zł najniższa cena z 30 dni)
169.14 zł
199.00 zł(-15%) -
OpenTelemetry is a revolution in observability data. Instead of running multiple uncoordinated pipelines, OpenTelemetry provides users with a single integrated stream of data, providing multiple sources of high-quality telemetry data: tracing, metrics, logs, RUM, eBPF, and more. This practical gu...(143.65 zł najniższa cena z 30 dni)
143.65 zł
169.00 zł(-15%) -
Interested in developing embedded systems? Since they don't tolerate inefficiency, these systems require a disciplined approach to programming. This easy-to-read guide helps you cultivate good development practices based on classic software design patterns and new patterns unique to embedded prog...(152.15 zł najniższa cena z 30 dni)
160.65 zł
189.00 zł(-15%) -
If you use Linux in your day-to-day work, then Linux Pocket Guide is the perfect on-the-job reference. This thoroughly updated 20th anniversary edition explains more than 200 Linux commands, including new commands for file handling, package management, version control, file format conversions, an...(92.65 zł najniższa cena z 30 dni)
101.15 zł
119.00 zł(-15%) -
Gain the valuable skills and techniques you need to accelerate the delivery of machine learning solutions. With this practical guide, data scientists, ML engineers, and their leaders will learn how to bridge the gap between data science and Lean product delivery in a practical and simple way. Dav...(237.15 zł najniższa cena z 30 dni)
245.65 zł
289.00 zł(-15%) -
This practical book provides a detailed explanation of the zero trust security model. Zero trust is a security paradigm shift that eliminates the concept of traditional perimeter-based security and requires you to "always assume breach" and "never trust but always verify." The updated edition off...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Decentralized finance (DeFi) is a rapidly growing field in fintech, having grown from $700 million to $100 billion over the past three years alone. But the lack of reliable information makes this area both risky and murky. In this practical book, experienced securities attorney Alexandra Damsker ...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Whether you're a startup founder trying to disrupt an industry or an entrepreneur trying to provoke change from within, your biggest challenge is creating a product people actually want. Lean Analytics steers you in the right direction.This book shows you how to validate your initial idea, find t...(126.65 zł najniższa cena z 30 dni)
126.65 zł
149.00 zł(-15%) -
When it comes to building user interfaces on the web, React enables web developers to unlock a new world of possibilities. This practical book helps you take a deep dive into fundamental concepts of this JavaScript library, including JSX syntax and advanced patterns, the virtual DOM, React reconc...(194.65 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka drukowana
Oceny i opinie klientów: Perl & LWP Sean M. Burke (0) Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.