Devel-Comments
view release on metacpan or search on metacpan
lib/Devel/Comments.pm view on Meta::CPAN
# Purpose : To process the devel comments environment variable.
# Params : A scalar containing the value of the environment variable
# Returns : An array ref containing 0 or more ???s
# - if the env var just contains a 1 a ref to an empty
# array is returned.
# - otherwise the variable is split on space or (space
# surrounded) colons.
sub _handle_sc_env {
my $env = shift;
if ( $env !~ m{\A \s* 1 \s* \Z}xms ) {
return [ split m{\s+|\s*:\s*}xms, $env ];
}
return [];
}
######## /_handle_sc_env ########
sub import; # FORWARD
######## EXTERNAL SUB CALL ########
#
( run in 1.755 second using v1.01-cache-2.11-cpan-71847e10f99 )