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

I don't know how exactly do this, my method below doesn't work and return "Bareword "MODULE" not allowed while "strict subs"" Maybe you have better approach ?

Replies are listed 'Best First'.
Re^3: How to print out package code ?
by choroba (Cardinal) on Mar 18, 2013 at 20:24 UTC
    You cannot print a bareword handle. You want to print the line read from the handle, therefore:
    print X $_;
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ