Skip to content

Commit

Permalink
explain why we use an alias here
Browse files Browse the repository at this point in the history
  • Loading branch information
karenetheridge committed Jan 8, 2013
1 parent c29c36b commit 7c74c15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/MooseX/Types/ISO8601.pm
Expand Up @@ -4,6 +4,8 @@ use strict;
use warnings;

use DateTime 0.41;
# this alias lets us distinguish the class from the class_type in versions of
# MooseX::Types that can't figure that out for us (i.e. before 0.32)
use aliased DateTime => 'DT';
use DateTime::TimeZone;
use DateTime::Duration;
Expand Down

0 comments on commit 7c74c15

Please sign in to comment.