http://www.perlmonks.org?node_id=16286

I posted something but wanted to edit part of the original post but I cant do that... this can be useful.