well okay, perl was overkill there.