Permalink
Browse files

no $YAML_MODULE needed anymore

  • Loading branch information...
1 parent 13b113e commit 26ff781cd52fa1accc87e3f49db937d2f76a8f5a @rjbs committed Mar 31, 2012
Showing with 1 addition and 11 deletions.
  1. +1 −1 lib/PAUSE/dist.pm
  2. +0 −10 lib/PAUSE/mldistwatch.pm
View
2 lib/PAUSE/dist.pm
@@ -1,7 +1,7 @@
use strict;
use warnings;
package PAUSE::dist;
-use vars qw(%CHECKSUMDONE $AUTOLOAD $YAML_MODULE);
+use vars qw(%CHECKSUMDONE $AUTOLOAD);
use Email::Sender::Simple qw(sendmail);
use File::Copy ();
View
10 lib/PAUSE/mldistwatch.pm
@@ -41,16 +41,6 @@ use PAUSE::mldistwatch::Constants ();
use PAUSE::MailAddress ();
use Safe;
use Text::Format;
-{
- my $HAVE_YAML = eval { require YAML; 1; };
- my $HAVE_YAML_SYCK = eval { require YAML::Syck; 1; };
- my $HAVE_YAML_XS = eval { require YAML::XS; 1; };
- $PAUSE::dist::YAML_MODULE =
- $HAVE_YAML_XS ? "YAML::XS" :
- $HAVE_YAML_SYCK ? "YAML::Syck" :
- $HAVE_YAML ? "YAML" :
- die "Found neither YAML::XS nor YAML::Syck nor YAML installed";
-}
$Data::Dumper::Indent = 1;

0 comments on commit 26ff781

Please sign in to comment.