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

Re: Golf: Embedded In Order

by petral (Curate)
on Apr 27, 2001 at 22:25 UTC ( #76206=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub seq{!grep{$_[0]!~/\G.*?$_/g}split//,pop}
    
  2. or download this
    sub seq{
      my @x=split"",pop;
      my $s=pop;
    ...
      }
      $c = ($cy, $c)[ $cy < $c ];
    }
    
  3. or download this
    sub seq{!grep$_[0]!~/$_/g,pop=~/./g}
    
  4. or download this
    sub seq{!grep$_[0]!~/\Q$_/g,pop=~/./gs}
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2014-12-26 00:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (163 votes), past polls