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


in reply to Re^2: How to print out package code ?
in thread How to print out package code ?

You cannot print a bareword handle. You want to print the line read from the handle, therefore:
print X $_;
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ