home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!spool.mu.edu!uwm.edu!psuvax1!flee
- From: flee@cs.psu.edu (Felix Lee)
- Subject: Generating reports
- Message-ID: <C1752I.5Et@cs.psu.edu>
- Sender: news@cs.psu.edu (Usenet)
- Nntp-Posting-Host: dictionopolis.cs.psu.edu
- Date: Thu, 21 Jan 1993 09:01:20 GMT
- Lines: 26
-
- Is it just me, or does Perl make a mediocre report-generating
- language?
-
- Data parsing is fine, but output is screwy. I can't seem to find a
- reasonable way of tabulating data, accumulating data (like totals,
- averages, quartiles), and printing the results.
-
- Anything I try either
- * duplicates information (like output column order) in several places
- in the script, which makes it painful to make minor changes in the
- report.
- * ends up simulating data types like records and arrays of records in
- really painful ways.
-
- Something I haven't tried yet: generating Perl on the fly. Perhaps
- this is the best way to deal with Perl's inadequacies in general.
- (Other than dumping it for another language:-)
-
- Another problem is Perl doesn't have enough date/time support,
- something that comes up all the time in analyzing log files. Yes,
- such functions could all be written in Perl, but I'm lazy, and
- besides, I did, and they're slow. Well, in a slow language like Perl,
- a little more slowness probably doesn't hurt much.
-
- Oh well. Time to give up the struggle for now.
- --
-