in reply to How to expand a string
$s = 'RAGGTS'; $s =~ s[R][{A,G}]g; $s =~ s[S][{C,G}]g; print while glob $s; AAGGTC AAGGTG GAGGTC GAGGTG
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to expand a string
by lima1 (Curate) on Nov 29, 2007 at 16:48 UTC |