Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
The big reason, in my mind, why we use Perl for so many things other than Reporting is that we are still doing reporting. Every single Perl application I've ever written did the following:
  1. Read in A
  2. Transform A -> B
  3. Write out B
I might have 1 or 10 data instreams and 1 or 10 data outstreams. These streams might be files, sockets (like Apache), databases, or whatever. In the process of transformation, I might hide a lot of the details in objects and/or modules. But, every application I have ever worked on is a glorified munger, and Perl is the best language for munging.

This is why Perl has the easiest time adding new I/O formats to existing apps. DBI, CGI, HTML::Template or Mason, PDF::Template, Spreadsheet::, XML::, and on and on. All these I/O layers mean we can focus on the munging part without having to worry about how the stuff we're munging goes in or out.

As for best practices ... I dunno. Just don't be stupid and you'll be fine. It doesn't have to be perfect - good enough is, well, good enough.

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.


In reply to Re: Reporting by dragonchild
in thread Reporting by krazken

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2021-10-23 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (86 votes). Check out past polls.

    Notices?