while ($str != $tail) {
    $str ~= s/^(head-pattern)//;
    use ($1);
}
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to