X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Flocal%2Flib.pm;h=f7cb58685fc8fe894959174da675148062e11986;hb=fe125a69b50e05c8850ca382c5c5959bef73f8d2;hp=edd50fa36fb4b6716007b20b8e81ff8072c74f60;hpb=80816e53fd05ed5445260640f717ad9ce295f4e6;p=p5sagit%2Flocal-lib.git diff --git a/lib/local/lib.pm b/lib/local/lib.pm index edd50fa..f7cb586 100644 --- a/lib/local/lib.pm +++ b/lib/local/lib.pm @@ -184,7 +184,7 @@ sub deactivate { if (!grep { $_ eq $path } @active_lls) { warn "Tried to deactivate inactive local::lib '$path'\n"; - return; + return $self; } my %args = ( @@ -844,7 +844,7 @@ given path as the base directory. =over 4 -=item Arguments: $path, $interpolate +=item Arguments: $path =item Return value: %environment_vars