Skip to main content

Introducing Miscellaneous Parsing Modules

  • Chapter
Book cover Pro Perl Parsing
  • 733 Accesses

Summary

This chapter examined several different parsing modules that may be of occasional use to Perl programmers. The Text:: Balanced module is a highly useful module to consider when you encounter structures involving nested delimiters, since its balancing capability ensures that the extracted text lies between the appropriate opening and closing delimiters.

You saw how the diverse formats that time and date information can be stored in often presents a programming challenge, since writing a parser that can handle all of these different formats is a tedious task. Luckily, the Date::Parse module can handle these situations for you and extract the time and date information.

Another module examined, XML::RSS:Parser, enables you to take an RSS feed and extract items of interest from it, which is an ability that will likely grow in importance as RSS feeds increase in prominence. Finally, you examined the Math:: Expresssion parsing module, which can generate parse trees of mathematical equations.

The next chapter will draw on elements of parsing that have been covered throughout the book and will apply this parsing knowledge to a diverse range of parsing tasks. Chapter 9 will present a series of cookbook-style solutions that will benefit all Perl programmers.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Christopher M. Frenz

About this chapter

Cite this chapter

(2005). Introducing Miscellaneous Parsing Modules. In: Pro Perl Parsing. Apress. https://doi.org/10.1007/978-1-4302-0049-9_8

Download citation

Publish with us

Policies and ethics