[Vienna-pm] pseudo-bitmask to ints

Thomas Klausner domm at cpan.org
Tue Oct 23 06:42:49 PDT 2007


Hi!

On Tue, Oct 23, 2007 at 03:31:43PM +0200, Thomas Klausner wrote:
 
> Gegeben ist ein String in der Form '00?1' der eine Bitmask darstellt
> 
> Ich brauche alle Ints, die dieser Batmask-Pseudo-Regex matchen, also in 
> diesem Fall 1 und 3

Hm, ev kann ich den Genome Sequence Generator aus HOP verwenden (oder 
ist das Kanone->Spatz?). Mal probieren...

-- 
#!/usr/bin/perl                              http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}


More information about the Vienna-pm mailing list