Dist-Zilla-Util-ExpandINI
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Dist/Zilla/Util/ExpandINI/Reader.pm view on Meta::CPAN
use parent 'Config::INI::Reader';
sub new {
my ($class) = @_;
my $self = {
data => [],
sections => {},
};
bless $self => $class;
$self->{current_section} = { name => $self->starting_section, lines => [], comment_lines => [] };
return $self;
}
sub can_ignore {
my ( $self, $line, ) = @_;
if ( $line =~ /\A\s*;(.*?)\s*$/msx ) {
push @{ $self->{current_section}->{comment_lines} }, "$1";
return 1;
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.011 second using v1.00-cache-2.02-grep-82fe00e-cpan-dad7e4baca0 )