Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

Commit

Permalink
Alien::*->import throws exception if dist_dir isn't there
Browse files Browse the repository at this point in the history
This should address #108, and also provide a useful diagnostic in other situations
  • Loading branch information
plicease committed Feb 20, 2015
1 parent d5f7dd8 commit 4486285
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Alien/Base.pm
Expand Up @@ -114,6 +114,8 @@ sub import {
my $class = shift;

return if $class->install_type('system');

$class->dist_dir;

# get a reference to %Alien::MyLibrary::AlienLoaded
# which contains names of already loaded libraries
Expand Down

0 comments on commit 4486285

Please sign in to comment.