Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I'm currently writing a quick but not too dirty Perl script to generate invoices for services provided by our company.

I've been careful how I code it as both our bosses are wise in the ways of Perl. To this extent I've been balancing "Software Engineering Think" with their acutely pragmatic view of Software. What that means is that using XML or Template Toolkit is liable to raise an eyebrow as this is a quick solution. Please don't autorespond, with the joys of CPAN, I use it frequently, but require a solution that works with the standard distribution

It has occurred to me in doing this that the most economical method of munging the data is to convert and process simultaneously which dragged me back to my University days and COBOL classes with the original JSP Jackson Structured Programming.

The idea of JSP is to make software analysis non intuitive, now I'm not hot on that but.. I advocate it for smaller jobs that really shouldn't require thought. JSP is basically this:

  • draw a diagram of the input structure
  • draw a diagram of the output structure
  • Overlay one with the other to get the system structure

It feels very comfortable in a quick-Perl way.

Blah blah blah standard disclaimer about using UML for OO or module structure diagrams for functional programming ;). Has anyone else tried using JSP for those medium sized hacks?

--

Brother Frankus.

¤


In reply to Design Methodology for the impatient. by frankus

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 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?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-18 05:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found