Update: Doh! you are right about the RTF. However the below is still useful.
try
#!usr/bin/perl -w
# Above line for *nix compatability
print "testing\n";
then
perl test.pl at the commandline in windows.
Windows doesn't know about the she-bang line, if you have the .pl extension associated with perl, you only have to type your file name.
You also don't need the -w at the commandline in windows if you have it in the she-bang line as perl is smart enough to get the -w from the she-bang line even in windows. (at least the ActiveState perl is)
"Nothing is sure but death and taxes" I say combine the two and its death to all taxes!