sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit 9be6ae58f74adb513f32dfe1d793df5bfb86ab26
parent d720a78c55a0344d9d999839d1e92c0f604ff9c7
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date:   Fri, 16 Dec 2016 11:03:26 +0100

SBO::Lib::Readme: add documentation for ask_other_readmes

Diffstat:
MSBO-Lib/lib/SBO/Lib/Readme.pm | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/SBO-Lib/lib/SBO/Lib/Readme.pm b/SBO-Lib/lib/SBO/Lib/Readme.pm @@ -77,6 +77,16 @@ sub ask_opts { return(); } +=head2 ask_other_readmes + + ask_other_readmes($sbo, $location); + +C<ask_other_readmes()> checks if there are other readmes for the C<$sbo> in +C<$location>, and if so, asks the user if they should be displayed, and then +displays them if the user didn't decline. + +=cut + sub ask_other_readmes { my ($sbo, $location) = @_; my @readmes = sort grep { ! m!/README$! } glob "$location/README*";