Explorar o código

replace #!.*perl with "#!/bin/env perl" in executables and docs, remove extranous #! lines in tests

lembark %!s(int64=10) %!d(string=hai) anos
pai
achega
cf79170f72

+ 1 - 1
README.md

@@ -47,7 +47,7 @@ the following should start up Firefox for you:
 #### Locally
 
 ```perl
-#! /usr/bin/perl
+#!/bin/env perl
 
 use strict;
 use warnings;

+ 1 - 1
driver-example.pl

@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/bin/env perl
 use Selenium::Remote::Driver;
 use Test::More tests=>4;
 

+ 1 - 1
lib/Selenium/Remote/Mock/RemoteConnection.pm

@@ -191,7 +191,7 @@ mock responses to specific functions
 
 =head2 Record interactions
 
-    #!perl
+    #!/bin/env perl
     use strict;
     use warnings;
     use Selenium::Remote::Driver;

+ 0 - 1
t/00-load.t

@@ -1,4 +1,3 @@
-#! /usr/bin/perl
 
 use strict;
 use warnings;

+ 1 - 0
t/01-driver.t

@@ -1,3 +1,4 @@
+
 use strict;
 use warnings;
 

+ 1 - 0
t/02-webelement.t

@@ -1,3 +1,4 @@
+
 use strict;
 use warnings;
 

+ 0 - 1
t/03-spec-coverage.t

@@ -1,4 +1,3 @@
-#!perl
 
 use strict;
 use warnings;

+ 1 - 1
t/04-commands-implemented.t

@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+
 use strict;
 use warnings;
 

+ 2 - 1
t/10-switch-to-window.t

@@ -1,6 +1,7 @@
+
+use 5.010;
 use strict;
 use warnings;
-use 5.010;
 
 use Test::More;
 use Test::Selenium::Remote::Driver;

+ 1 - 0
t/11-action-chains.t

@@ -1,3 +1,4 @@
+
 use strict;
 use warnings;
 

+ 0 - 1
t/CanStartBinary.t

@@ -1,4 +1,3 @@
-#! /usr/bin/perl
 
 use strict;
 use warnings;

+ 0 - 1
t/Finders.t

@@ -1,4 +1,3 @@
-#! /usr/bin/perl
 
 use strict;
 use warnings;

+ 0 - 1
t/Firefox-Profile.t

@@ -1,4 +1,3 @@
-#!/usr/bin/perl
 
 use strict;
 use warnings;

+ 0 - 1
t/Remote-Connection.t

@@ -1,4 +1,3 @@
-#! /usr/bin/perl
 
 use strict;
 use warnings;

+ 1 - 1
t/Test-Selenium-Remote-Driver-google.t

@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+
 use strict;
 use warnings;
 use Test::More;

+ 1 - 1
t/Test-Selenium-Remote-Driver.t

@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+
 use Test::More;
 use Test::Fatal;
 use Test::Selenium::Remote::Driver;

+ 1 - 1
t/Test-Selenium-Remote-WebElement.t

@@ -1,4 +1,4 @@
-#!perl
+
 use Test::More;
 use Selenium::Remote::Mock::Commands;
 use Selenium::Remote::Mock::RemoteConnection;

+ 0 - 1
t/Waiter.t

@@ -1,4 +1,3 @@
-#! /usr/bin/perl
 
 use strict;
 use warnings;

+ 1 - 1
t/bin/record.pl

@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#!/bin/env perl
 
 use strict;
 use warnings;

+ 0 - 1
t/convenience.t

@@ -1,4 +1,3 @@
-#! /usr/bin/perl
 
 use strict;
 use warnings;

+ 0 - 1
t/error.t

@@ -1,4 +1,3 @@
-#! /usr/bin/perl
 
 use strict;
 use warnings;

+ 0 - 1
t/pod.t

@@ -1,4 +1,3 @@
-#!perl -T
 
 use strict;
 use warnings;