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

Re: Re (tilly) 1: (Golf) Strings-to-Array

by demerphq (Chancellor)
on Sep 01, 2001 at 04:56 UTC ( #109586=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub r {my$s;$s.=chop for@_=@_;$s.0?(&r,$s):()}
    
  2. or download this
      sub r {my$s;$s.=chop for@_;$s?(&r,$s):()}
    
    ...
      # jeff,john,mary
      # jjm,eoa,fhr,fny
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://109586]
help
Chatterbox?
[Corion]: But in general, it seems to be an interesting approach I should think about - whenever I'm searching for something, to consider if I could search for the end of the token instead of the start of the token

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2016-12-06 15:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (108 votes). Check out past polls.