Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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


Comment on Re: Re: Golf: Embedded In Order
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2014-09-17 02:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (56 votes), past polls