Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: The Sieve

by hdb (Monsignor)
on Mar 16, 2015 at 17:56 UTC ( #1120205=note: print w/replies, xml ) Need Help??


in reply to Also not a sieve
in thread Not a Sieve

Which is not a Sieve! But then the OP's proposal is neither...

Update: this is a sieve (specify sieve size on command line):

$_=";"x(pop);s;.;.;;$;=~s:.:.:g,s:($;).:$1.:g,s,($;).,$1:,while($;)=m: +(.+?);:;s;:;1+pos();ge;say

Replies are listed 'Best First'.
You're right
by Schmunzie (Beadle) on Mar 17, 2015 at 03:37 UTC
    It's not. Hm.. gotta write a real one now.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (1)
As of 2023-06-04 23:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (22 votes). Check out past polls.

    Notices?