From 5c83076fed12c431a9345ba9feb41047966428c4 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 17 Nov 2009 00:10:43 -0600 Subject: convert to #!/usr/bin/env perl everywhere --- bin/cryptogram.pl | 2 +- bin/jotto.pl | 2 +- bin/mastermind.pl | 2 +- bin/solve-ghost.pl | 2 +- bin/solve-spook.pl | 2 +- bin/solve-superghost.pl | 2 +- bin/solve-xghost.pl | 2 +- t/000-load.t | 2 +- t/001-basic.t | 2 +- t/002-system-wordlist.t | 2 +- t/003-array-wordlist.t | 2 +- t/004-system-wordlist-nocache.t | 2 +- t/010-random-permutation.t | 2 +- t/011-is-permutation.t | 2 +- t/012-shared-letters.t | 2 +- t/013-random-string-from.t | 2 +- t/014-substrings.t | 2 +- t/015-subpermutations.t | 2 +- t/020-random-word.t | 2 +- t/021-is-word.t | 2 +- t/022-random-word-nocache.t | 2 +- t/023-is-word-nocache.t | 2 +- t/024-anagrams.t | 2 +- t/025-subwords.t | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/bin/cryptogram.pl b/bin/cryptogram.pl index d81c15e..7d89e6c 100644 --- a/bin/cryptogram.pl +++ b/bin/cryptogram.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; use Games::Word qw/random_permutation/; diff --git a/bin/jotto.pl b/bin/jotto.pl index cab1a9d..82406e6 100644 --- a/bin/jotto.pl +++ b/bin/jotto.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; use Games::Word qw/shared_letters/; diff --git a/bin/mastermind.pl b/bin/mastermind.pl index b48cf4c..8f8ab34 100644 --- a/bin/mastermind.pl +++ b/bin/mastermind.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; use Games::Word qw/random_string_from shared_letters diff --git a/bin/solve-ghost.pl b/bin/solve-ghost.pl index d119374..c65cd91 100644 --- a/bin/solve-ghost.pl +++ b/bin/solve-ghost.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; use Games::Word::Wordlist; diff --git a/bin/solve-spook.pl b/bin/solve-spook.pl index 75672bc..f28c8e8 100644 --- a/bin/solve-spook.pl +++ b/bin/solve-spook.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; use Games::Word::Wordlist; diff --git a/bin/solve-superghost.pl b/bin/solve-superghost.pl index 2e4e750..e5fcbee 100644 --- a/bin/solve-superghost.pl +++ b/bin/solve-superghost.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; use Games::Word::Wordlist; diff --git a/bin/solve-xghost.pl b/bin/solve-xghost.pl index 3926e7e..7502803 100644 --- a/bin/solve-xghost.pl +++ b/bin/solve-xghost.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; use Games::Word::Wordlist; diff --git a/t/000-load.t b/t/000-load.t index 6da1ee9..dfe613f 100644 --- a/t/000-load.t +++ b/t/000-load.t @@ -1,4 +1,4 @@ -#!perl -T +#!/usr/bin/env perl use strict; use warnings; use Test::More tests => 2; diff --git a/t/001-basic.t b/t/001-basic.t index e325ff3..e939d77 100644 --- a/t/001-basic.t +++ b/t/001-basic.t @@ -1,4 +1,4 @@ -#!perl -T +#!/usr/bin/env perl use strict; use warnings; use Test::More tests => 2; diff --git a/t/002-system-wordlist.t b/t/002-system-wordlist.t index ee83e46..336d2d4 100644 --- a/t/002-system-wordlist.t +++ b/t/002-system-wordlist.t @@ -1,4 +1,4 @@ -#!perl -T +#!/usr/bin/env perl use strict; use warnings; use Test::More tests => 2; diff --git a/t/003-array-wordlist.t b/t/003-array-wordlist.t index 148f761..b752080 100644 --- a/t/003-array-wordlist.t +++ b/t/003-array-wordlist.t @@ -1,4 +1,4 @@ -#!perl -T +#!/usr/bin/env perl use strict; use warnings; use Test::More tests => 4; diff --git a/t/004-system-wordlist-nocache.t b/t/004-system-wordlist-nocache.t index 39b7dd4..368229c 100644 --- a/t/004-system-wordlist-nocache.t +++ b/t/004-system-wordlist-nocache.t @@ -1,4 +1,4 @@ -#!perl -T +#!/usr/bin/env perl use strict; use warnings; use Test::More tests => 4; diff --git a/t/010-random-permutation.t b/t/010-random-permutation.t index cbfe275..4adcda3 100644 --- a/t/010-random-permutation.t +++ b/t/010-random-permutation.t @@ -1,4 +1,4 @@ -#!perl -T +#!/usr/bin/env perl use strict; use warnings; use Test::More tests => 51; diff --git a/t/011-is-permutation.t b/t/011-is-permutation.t index 96e959a..e6e1abe 100644 --- a/t/011-is-permutation.t +++ b/t/011-is-permutation.t @@ -1,4 +1,4 @@ -#!perl -T +#!/usr/bin/env perl use strict; use warnings; use Test::More tests => 20; diff --git a/t/012-shared-letters.t b/t/012-shared-letters.t index f3160b1..e9fb431 100644 --- a/t/012-shared-letters.t +++ b/t/012-shared-letters.t @@ -1,4 +1,4 @@ -#!perl -T +#!/usr/bin/env perl use strict; use warnings; use Test::More; diff --git a/t/013-random-string-from.t b/t/013-random-string-from.t index 190f1a5..ef8bc61 100644 --- a/t/013-random-string-from.t +++ b/t/013-random-string-from.t @@ -1,4 +1,4 @@ -#!perl -T +#!/usr/bin/env perl use strict; use warnings; use Test::More tests => 23; diff --git a/t/014-substrings.t b/t/014-substrings.t index 542ad64..e61d264 100644 --- a/t/014-substrings.t +++ b/t/014-substrings.t @@ -1,4 +1,4 @@ -#!perl -T +#!/usr/bin/env perl use strict; use warnings; use Test::More; diff --git a/t/015-subpermutations.t b/t/015-subpermutations.t index 439f7f1..36e57d8 100644 --- a/t/015-subpermutations.t +++ b/t/015-subpermutations.t @@ -1,4 +1,4 @@ -#!perl -T +#!/usr/bin/env perl use strict; use warnings; use Test::More; diff --git a/t/020-random-word.t b/t/020-random-word.t index 71b1959..b642c27 100644 --- a/t/020-random-word.t +++ b/t/020-random-word.t @@ -1,4 +1,4 @@ -#!perl -T +#!/usr/bin/env perl use strict; use warnings; use Test::More tests => 6; diff --git a/t/021-is-word.t b/t/021-is-word.t index 3ed6bc2..2c6045f 100644 --- a/t/021-is-word.t +++ b/t/021-is-word.t @@ -1,4 +1,4 @@ -#!perl -T +#!/usr/bin/env perl use strict; use warnings; use Test::More tests => 10; diff --git a/t/022-random-word-nocache.t b/t/022-random-word-nocache.t index 61fad0d..08ed1fc 100644 --- a/t/022-random-word-nocache.t +++ b/t/022-random-word-nocache.t @@ -1,4 +1,4 @@ -#!perl -T +#!/usr/bin/env perl use strict; use warnings; use Test::More tests => 5; diff --git a/t/023-is-word-nocache.t b/t/023-is-word-nocache.t index 47ada06..8555fbd 100644 --- a/t/023-is-word-nocache.t +++ b/t/023-is-word-nocache.t @@ -1,4 +1,4 @@ -#!perl -T +#!/usr/bin/env perl use strict; use warnings; use Test::More tests => 21; diff --git a/t/024-anagrams.t b/t/024-anagrams.t index 9cbabc1..d71e908 100644 --- a/t/024-anagrams.t +++ b/t/024-anagrams.t @@ -1,4 +1,4 @@ -#!perl -T +#!/usr/bin/env perl use strict; use warnings; use Test::More tests => 1; diff --git a/t/025-subwords.t b/t/025-subwords.t index 4941a19..c484788 100644 --- a/t/025-subwords.t +++ b/t/025-subwords.t @@ -1,4 +1,4 @@ -#!perl -T +#!/usr/bin/env perl use strict; use warnings; use Test::More tests => 1; -- cgit v1.2.3-54-g00ecf