Yeah, I'm writing an XML to Perl1. um thingy that takes an
XML init file to say what elements relate to what functions
in the second XML file. Since Dia can output to XML IIRC,
it should be possible to create Perl from Dia, albeit a
round-about route.
Although for my two-penneth, generated Perl is a bad idea2,
generated C,C++, Python or Java are okay, because you have
to write loads of stuff in those languages anyway.
- Yes this is generated Perl code, but it's not for me, it's for clients ;-)
- If you worked at Oven UK and see that as a major U-Turn, what can I say? I know better now.
--
Brother Frankus.
-
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.
|