Skip to content

Commit

Permalink
added 'use warnings;' to every .pm and .pl file where it's missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Heil committed Feb 25, 2015
1 parent 1856cb2 commit 36cc03c
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist-maint/update-version.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env perl
use strict;
use warnings;
my $new = shift;
die "please supply the new version number N.NN\n" unless $new;
my $old = shift;
Expand Down
1 change: 1 addition & 0 deletions t/CdExample.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package CdExample;
use strict;
use warnings;
use UR;

class CdExample {
Expand Down
1 change: 1 addition & 0 deletions t/CdExample/Artist.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

package CdExample::Artist;
use strict;
use warnings;
use CdExample;

class CdExample::Artist {
Expand Down
1 change: 1 addition & 0 deletions t/CdExample/Cd.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package CdExample::Cd;
use strict;
use warnings;
use CdExample;

class CdExample::Cd {
Expand Down
1 change: 1 addition & 0 deletions t/CmdTest.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

package CmdTest;
use strict;
use warnings;
use Command::Tree;

class CmdTest { is => 'Command::Tree', doc => 'test suite test command tree' };
Expand Down
1 change: 1 addition & 0 deletions t/CmdTest/Stuff.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package CmdTest::Stuff;
use strict;
use warnings;

class CmdTest::Stuff {
has => [
Expand Down
1 change: 1 addition & 0 deletions t/Vending/Command/CoinReturn.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package Vending::Command::CoinReturn;
use strict;
use warnings;

class Vending::Command::CoinReturn {
is => 'Vending::Command::Outputter',
Expand Down
1 change: 1 addition & 0 deletions t/Vending/Command/Dime.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package Vending::Command::Dime;
use strict;
use warnings;

class Vending::Command::Dime {
is => 'Vending::Command::InsertMoney',
Expand Down
1 change: 1 addition & 0 deletions t/Vending/Command/Dollar.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package Vending::Command::Dollar;
use strict;
use warnings;

class Vending::Command::Dollar {
is => 'Vending::Command::InsertMoney',
Expand Down
1 change: 1 addition & 0 deletions t/Vending/Command/InsertMoney.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package Vending::Command::InsertMoney;
use strict;
use warnings;

class Vending::Command::InsertMoney {
is => 'Vending::Command',
Expand Down
1 change: 1 addition & 0 deletions t/Vending/Command/Menu.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package Vending::Command::Menu;
use strict;
use warnings;

class Vending::Command::Menu {
is => ['UR::Object::Command::List', 'Vending::Command' ],
Expand Down
1 change: 1 addition & 0 deletions t/Vending/Command/Nickel.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package Vending::Command::Nickel;
use strict;
use warnings;

class Vending::Command::Nickel {
is => 'Vending::Command::InsertMoney',
Expand Down
1 change: 1 addition & 0 deletions t/Vending/Command/Quarter.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package Vending::Command::Quarter;
use strict;
use warnings;

class Vending::Command::Quarter {
is => 'Vending::Command::InsertMoney',
Expand Down
1 change: 1 addition & 0 deletions t/Vending/Command/Service/Show/Money.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package Vending::Command::Service::Show::Money;
use strict;
use warnings;

class Vending::Command::Service::Show::Money {
is_abstract => 1,
Expand Down
1 change: 1 addition & 0 deletions t/Vending/get_coin_by_value.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use strict;
use warnings;
use above 'Vending';

# Requires a 3-table database join (COIN, CONTENT and CONTENT_TYPE), plus a
Expand Down
1 change: 1 addition & 0 deletions t/Vending/vend_interactive.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/gsc/bin/perl

use strict;
use warnings;
use above 'Vending';

my $machine = Vending::Machine->get();
Expand Down
1 change: 1 addition & 0 deletions t/class_browser/test_namespace/Testing.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package Testing;

use strict;
use warnings;
use UR;

class Testing {
Expand Down
1 change: 1 addition & 0 deletions t/class_browser/test_namespace/Testing/Color.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package Testing::Color;

use strict;
use warnings;
use Testing;

class Testing::Color {
Expand Down
1 change: 1 addition & 0 deletions t/class_browser/test_namespace/Testing/Something.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package Testing::Something;
use strict;
use warnings;

class Testing::Something {
id_by => [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package Testing::Something::SubClass1;
use strict;
use warnings;

class Testing::Something::SubClass1 {
is => 'Testing::Something',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package Testing::Something::SubClass2;
use strict;
use warnings;

class Testing::Something::SubClass2 {
is => 'Testing::Something',
Expand Down
1 change: 1 addition & 0 deletions t/ur-cachetest.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use strict;
use warnings;
use Time::HiRes;

my $n_props = shift(@ARGV) || 5;
Expand Down
1 change: 1 addition & 0 deletions t/urbenchmark.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use strict;
use warnings;
use Time::HiRes;

my $n_props = shift(@ARGV) || 5;
Expand Down

0 comments on commit 36cc03c

Please sign in to comment.