some code samples are needed importing a good piece of advice from the perl programming language talk page the page could use some short pieces of example code i would have written this myself but i'm not sure if my python style is very pythonic or not