Print override
I came across this problem when I decided to integrate Growl notification support for my Perl script. Instead of using a standard custom log()
function, I wanted to override the print
function to pipe the output to the media of my liking. Unfortunately, print
is a reserved keyword in Perl which cannot…