Chapter 19. Report Writing with Pictures

Report Writing with Pictures

Perl is the Practical Extraction and Report Language. After you have practically extracted and manipulated all the data in your file, you may want to write a formatted report to categorize and summarize this information. If you have written reports with the awk programming language, you may find Perl’s formatting a little peculiar at first.

The Template

In order to write a report, Perl requires that you define a template to describe visually how the report will be displayed; that is, how the report is to be formatted. Do you want left-justified, centered, or right-justified columns? Do you have numeric data ...

Get Perl by Example, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.