Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
> I do. It happens to align nicely to the way popular spreadsheet calculations label their columns, and many non-geeks can make sense of it.

actually I don't wanna get rid of the feature but of the syntax.

better something like strinc() which does the same.

(EDIT: Out of millions of postincs only few are supposed to increment strings, no need to share the operator.)

> an empty regex matching the same as the previous match (instead of disallowing it, or matching the empty string), which is especially annoying if it's not obvious that $re is empty.

I'm using this productively╣, but again I'd rather prefer another syntax, something like m/$ČLAST/ for matching the last successful regex.

> So rather deprecate stuff (with long enough deprecation periods to give even slow-moving companies the chance to crawl along) than layer more complexity on top of it.

we had a keynote talk about this in Riga ...

... but I asked about the chances that this really happens soon.

These side-effects make translating Perl5 to other languages a pain in the *ss.

perlito for instance gets it "wrong".

If you think about the steps needed to mimic this behaviour in JS ... maybe with something like a function

postinc(variable)

which handles the cases it gets incredible complicated and slow for such a basic operation like ++, especially because JS can't do call-by-references.

Cheers Rolf

╣) see Re^4: grep trouble (body of flip-flop range)


In reply to Re^2: getting rid of special features by LanX
in thread getting rid of costly special features by LanX

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others studying the Monastery: (6)
    As of 2014-11-01 02:38 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      For retirement, I am banking on:










      Results (227 votes), past polls