Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^4: Regular Expression Test

by shmem (Chancellor)
on May 06, 2017 at 20:30 UTC ( #1189689=note: print w/replies, xml ) Need Help??

in reply to Re^3: Regular Expression Test
in thread Regular Expression Test

You shouldn't be despaired, the demonstrated code is neither easy to read nor maintain.

Depends on who's reading it, and who's maintaining it. If so.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Replies are listed 'Best First'.
Re^5: Regular Expression Test
by LanX (Sage) on May 06, 2017 at 21:10 UTC
    Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you post live.

    originally from ...

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1189689]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2022-05-16 08:24 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (62 votes). Check out past polls.