http://qs1969.pair.com?node_id=544203

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to write a hack for YaBB forum 2.1 and am having a problem with, which should be, a very simple print.

I am simply require "test.pl"; and inside this file is just print "username is $username"; 1;.

It's not printing anything out. However, when I add the shebang in AND add a print header, it does print but it prints out ooblygoop (like the pragma and stuff) because it's already been printed by the original script.

It does print the message with header, but prints nothing without.

Any ideas how I can get this to work?