Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re (tilly) 4: Shortest -return index of element in array- sub

by tilly (Archbishop)
on Apr 04, 2001 at 18:41 UTC ( #69680=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re: Shortest -return index of element in array- sub
in thread Shortest -return index of element in array- sub

And this differs from Re: Re: Shortest -return index of element in array- sub exactly how?

Oh right. You eliminated spaces.

And for the shorter recursive solution see Re: Re: Shortest -return index of element in array- sub.

So tell me, are you just trying to get back up to monk so you can be a more effective troll?

UPDATE
Whoops!

I misread your user name by accident as mr_leisure and said rather unkind things. I still don't think that regurgitating everyone else's solutions is great, but it does not deserve the harshness that I gave that post.

Please accept my apologies for that.


Comment on Re (tilly) 4: Shortest -return index of element in array- sub
Re: Re (tilly) 4: Shortest -return index of element in array- sub
by mr_mischief (Prior) on May 31, 2001 at 02:17 UTC
    Apology accepted. In golf, I like to play with what the parser recognizes with whitespace and without. I'll try to credit other people from now on when I use their ideas. I thought the thread was short enough that it would be obvious where the idea was from. I don't intend to steal ideas, just borrow. I'll make it more clear that's what I'm doing. BTW, I'm not fond of trolls, either. You can find me remarking on such osts over on clpmisc quite a bit. Come to think of it, you can find me on clpmisc quite a bit in general. Chris BTW, here's my first JAPh, just so there'll be some code in my node. Comments welcome.
    $z = int(rand(1000)+1); $y = 'reverse ' x $z; eval eval qq{$y "@{['\"n\\\\.rekcaH','lreP','rehtonA','tsuJ\"','tnirp' +]}"}

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2014-07-25 23:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls