Skip to content

Commit

Permalink
Consistent use of shebang
Browse files Browse the repository at this point in the history
Inspired by issue-109
  • Loading branch information
Tux committed Aug 13, 2024
1 parent 3a4a5ba commit d0be81d
Show file tree
Hide file tree
Showing 15 changed files with 23 additions and 9 deletions.
1 change: 1 addition & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/perl
# -*- perl -*-
#
# $Id$
Expand Down
1 change: 1 addition & 0 deletions dbilogstrip.PL
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/perl
# -*- perl -*-
my $file = $ARGV[0] || 'dbilogstrip';

Expand Down
1 change: 1 addition & 0 deletions dbiprof.PL
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/perl
# -*- perl -*-

my $file = $ARGV[0] || 'dbiprof';
Expand Down
1 change: 1 addition & 0 deletions dbiproxy.PL
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/perl
# -*- perl -*-

my $file = $ARGV[0] || 'dbiproxy';
Expand Down
4 changes: 3 additions & 1 deletion dbixs_rev.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!perl -w
#!/usr/bin/perl

use strict;
use warnings;

my $dbixs_rev_file = "dbixs_rev.h";

Expand Down
2 changes: 2 additions & 0 deletions dumpmethods.pl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/perl

package DBI;

use warnings;
Expand Down
2 changes: 1 addition & 1 deletion ex/corogofer.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!perl
#!/usr/bin/perl

use strict;
use warnings;
Expand Down
3 changes: 2 additions & 1 deletion ex/perl_dbi_nulls_test.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/perl -w
#!/usr/bin/perl

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

use strict;
use warnings;
use DBI;

# The array represents the values that will be stored in the char column of our table.
Expand Down
1 change: 1 addition & 0 deletions ex/unicode_test.pl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/perl
#
# Copyright Martin J. Evans
#
Expand Down
2 changes: 1 addition & 1 deletion goferperf.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!perl -w
#!/usr/bin/perl
# vim:sw=4:ts=8
$|=1;

Expand Down
3 changes: 2 additions & 1 deletion test.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/local/bin/perl -w
#!/usr/bin/perl

# $Id$
#
Expand Down Expand Up @@ -27,6 +27,7 @@ BEGIN
use Config;
use Getopt::Long;
use strict;
use warnings;

our $has_devel_leak = eval {
local $^W = 0; # silence "Use of uninitialized value $DynaLoader::args[0] in subroutine entry";
Expand Down
2 changes: 1 addition & 1 deletion xt/dbixha-goperf.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!perl -w
#!/usr/bin/perl
# vim:sw=4:ts=8
$|=1;

Expand Down
3 changes: 2 additions & 1 deletion xt/goferdemo.pl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!perl -w
#!/usr/bin/perl
$|=1;

use strict;
use warnings;
use File::Path;
use File::Spec;
use Cwd;
Expand Down
3 changes: 2 additions & 1 deletion xt/leak.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env perl
#!/usr/bin/perl

use strict;
use warnings;
use DBI;
Expand Down
3 changes: 2 additions & 1 deletion xt/tests.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/local/bin/perl -w
#!/usr/bin/perl

# $Id: test.pl 6734 2006-07-30 22:42:07Z timbo $
#
Expand Down Expand Up @@ -27,6 +27,7 @@ BEGIN
use Config;
use Getopt::Long;
use strict;
use warnings;

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

0 comments on commit d0be81d

Please sign in to comment.