Things I'd forget if I didn't post them here.
# C:\Foo\Bar\my_script.pl use strict; use warnings; use FindBin qw($Bin); print "My script lives in $Bin\n"; # My script lives in C:/Foo/Bar