Thank you for reviewing all the proposals. Instead of just "soft semicolon" :-)
5a: I guess this is a decent one.
Some progress :-).
8a: It's not hard to check if the return value of index is below a certain limit.
No. For example, in bioinformatics FASTA sequences the string can be several gigabytes. You need to use substr right now to limit the search area.
9a: Umm, when is already allowed in for loops.
There are a couple of unresolved problems. You need to suppress "when is experimental" warning to use it with
no warnings 'experimental::smartmatch';
and the form when('a') involves smart matching as as such might not work in future releases. So it is essential to disable smart matching in when in order to use it (in this case the syntax should be when( $_ eq 'a')... and the form when('a') should generate an error, which I do not think is currently possible.
-
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.
|