http://stackoverflow.com/questions/42733000/code-golf-in-perl?
This is the link where the question was posted and – simbabque told me perl monks would be better .You can check his comment.And we are not allowed switches like -F. Your one idea helped me.Thanks,mate.Could you further reduce it ?Can we replace split$",<> with something?You are a true helper bro.#respect from my side.