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?
In reply to required files by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |