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 petral (Curate)
on Apr 27, 2001 at 22:25 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://76206]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2024-04-16 07:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found