Skip to content

Commit d0be81d

Browse files
committed
Consistent use of shebang
Inspired by issue-109
1 parent 3a4a5ba commit d0be81d

15 files changed

+23
-9
lines changed

Makefile.PL

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/perl
12
# -*- perl -*-
23
#
34
# $Id$

dbilogstrip.PL

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/perl
12
# -*- perl -*-
23
my $file = $ARGV[0] || 'dbilogstrip';
34

dbiprof.PL

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/perl
12
# -*- perl -*-
23

34
my $file = $ARGV[0] || 'dbiprof';

dbiproxy.PL

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/perl
12
# -*- perl -*-
23

34
my $file = $ARGV[0] || 'dbiproxy';

dbixs_rev.pl

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
#!perl -w
1+
#!/usr/bin/perl
2+
23
use strict;
4+
use warnings;
35

46
my $dbixs_rev_file = "dbixs_rev.h";
57

dumpmethods.pl

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/perl
2+
13
package DBI;
24

35
use warnings;

ex/corogofer.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!perl
1+
#!/usr/bin/perl
22

33
use strict;
44
use warnings;

ex/perl_dbi_nulls_test.pl

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/perl -w
1+
#!/usr/bin/perl
22

33
# This script checks which style of WHERE clause(s) will support both
44
# null and non-null values. Refer to the NULL Values sub-section
@@ -34,6 +34,7 @@
3434
# any pre-existing table so named.
3535

3636
use strict;
37+
use warnings;
3738
use DBI;
3839

3940
# The array represents the values that will be stored in the char column of our table.

ex/unicode_test.pl

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/perl
12
#
23
# Copyright Martin J. Evans
34
#

goferperf.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!perl -w
1+
#!/usr/bin/perl
22
# vim:sw=4:ts=8
33
$|=1;
44

test.pl

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/local/bin/perl -w
1+
#!/usr/bin/perl
22

33
# $Id$
44
#
@@ -27,6 +27,7 @@ BEGIN
2727
use Config;
2828
use Getopt::Long;
2929
use strict;
30+
use warnings;
3031

3132
our $has_devel_leak = eval {
3233
local $^W = 0; # silence "Use of uninitialized value $DynaLoader::args[0] in subroutine entry";

xt/dbixha-goperf.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!perl -w
1+
#!/usr/bin/perl
22
# vim:sw=4:ts=8
33
$|=1;
44

xt/goferdemo.pl

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
#!perl -w
1+
#!/usr/bin/perl
22
$|=1;
33

44
use strict;
5+
use warnings;
56
use File::Path;
67
use File::Spec;
78
use Cwd;

xt/leak.pl

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#!/usr/bin/env perl
1+
#!/usr/bin/perl
2+
23
use strict;
34
use warnings;
45
use DBI;

xt/tests.pl

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/local/bin/perl -w
1+
#!/usr/bin/perl
22

33
# $Id: test.pl 6734 2006-07-30 22:42:07Z timbo $
44
#
@@ -27,6 +27,7 @@ BEGIN
2727
use Config;
2828
use Getopt::Long;
2929
use strict;
30+
use warnings;
3031

3132
our $has_devel_leak = eval {
3233
local $^W = 0; # silence "Use of uninitialized value $DynaLoader::args[0] in subroutine entry";

0 commit comments

Comments
 (0)