Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Golf: Embedded In Order

by petral (Curate)
on May 26, 2001 at 01:41 UTC ( #83439=note: print w/replies, xml ) Need Help??


in reply to Re: Golf: Embedded In Order
in thread Golf: Embedded In Order

But you don't need the $t! 27 chars:
seq{shift=~join".*",split//,pop}
Or 25 using /./g:
seq{shift=~join".*",pop=~/./g}
Or 33 with pathological protection:
seq{shift=~join"\E.*\Q","",pop=~/./gs}
  p

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://83439]
help
Chatterbox?
[shmem]: Discipulus: war/peace is a question of fuel gauge position...
[Discipulus]: yes i saw your cell brother..
[Discipulus]: but now fuel is cheap and they still make some war.
[Discipulus]: capitalism is able to go to war by cycle, even.
[shmem]: some? are you jokin' ?
[shmem]: fuel is only one fuel that fuels the fools... it is all about power and control - which NOBODY will have.

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2017-04-29 22:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (534 votes). Check out past polls.