Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Golf: Embedded In Order

by chipmunk (Parson)
on Apr 27, 2001 at 17:54 UTC ( #76091=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub t_in_s {
    ($t=pop)=~s/./$&.*/g;$_[0]=~$t
    }
    
    t_in_s('abcdefghijklmnopqrstuvwxyz', 'for');
    
  2. or download this
    sub t_in_s {
    ($t=pop)=~s/./\Q$&\E.*/g;$_[0]=~$t
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://76091]
help
Chatterbox?
[LanX]: unusual that "Pimp my Bride" never made it into TV (?)
LanX sighs ... no idea stupid enough
[choroba]: "Smack My Bitch Up" did, though
[Eily]: that's the internet for you LanX
[Eily]: and I'm pretty sure there's a rule somewhere that states that the stupider the idea, the more likely it is to already have been done
zentara is thinking of moving to Mars to esacpe it all

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2017-03-27 15:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.