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


in reply to Problem sorted out!
in thread How can one use the print function to get the correct information?

Why separate thread ?
Please mark same thread as solved and update solution..