There was a time when I was writing a module for CPAN, and I decided to try to make it compatible with old versions of Perl. First, I installed many versions of Perl in my machine. Not too much trouble, except that the old makefiles didn't work right away my newer system! But with some hacking I got them to compile. Then, I started to get rid of the ours, three-arg opens, and such until perl stopped complaining.
What was the result? That my module, which worked perfectly well with the newer perls (5.6.1+), even after the changes for compatibility, somehow caused the old perls to segfault. That's one of those errors that's "not supposed to happen" when you are writing pure Perl! So, from that moment on, I don't give a damn about supporting ancient perl versions such as 5.004. I'm willing to work around the lack of recent features and syntactic sugar, but I'm not willing to work around the bugs.
-
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.
|