perl - Makefile.PL check if source directory found -


i using extutils::makemaker create makefile.pl added following function makefile.pl check if source directory exist

sub  check_directory  {   ($argv) = @_;  unless (defined $argv->{'source'} , -d $argv->{'source'}) {       die 'directory not found '; }  } 

now when run perl makefile.pl --source=/opt/src ok

but after whe run make/dmake compiles ok "directory not found " message , "error code 255" idea why , if there different way check if directory found when writting makefile.pl worth mention if remove above code compliation finish success.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -