diff --git a/mozilla/htmlparser/tests/outsinks/TestOutSinks.pl b/mozilla/htmlparser/tests/outsinks/TestOutSinks.pl
index 8640182444d..220e0be4b55 100755
--- a/mozilla/htmlparser/tests/outsinks/TestOutSinks.pl
+++ b/mozilla/htmlparser/tests/outsinks/TestOutSinks.pl
@@ -1,4 +1,4 @@
-#! perl
+#! /usr/bin/perl
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
diff --git a/mozilla/parser/htmlparser/tests/outsinks/TestOutSinks.pl b/mozilla/parser/htmlparser/tests/outsinks/TestOutSinks.pl
index 8640182444d..220e0be4b55 100755
--- a/mozilla/parser/htmlparser/tests/outsinks/TestOutSinks.pl
+++ b/mozilla/parser/htmlparser/tests/outsinks/TestOutSinks.pl
@@ -1,4 +1,4 @@
-#! perl
+#! /usr/bin/perl
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file