Linux version:
#!/usr/bin/perl
print "Hello World!\n";
OR
print ("Hello World!\n");
Theres no real difference between these two.
Windows is simply the same without the #!/usr/bin/perl.