SILENT KILLERPanel

Current Path: > > usr > > share > perl5 > vendor_perl > Module > > Build >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //usr//share/perl5/vendor_perl/Module//Build/

NameTypeSizeLast ModifiedActions
Platform Directory - -
API.pod File 68697 bytes October 13 2019 10:59:01.
Authoring.pod File 11004 bytes October 13 2019 10:59:01.
Base.pm File 165204 bytes October 13 2019 10:59:01.
Bundling.pod File 5108 bytes October 13 2019 10:59:01.
Compat.pm File 18538 bytes October 13 2019 10:59:01.
Config.pm File 1102 bytes October 13 2019 10:59:01.
ConfigData.pm File 6842 bytes October 13 2019 10:59:01.
Cookbook.pm File 17337 bytes October 13 2019 10:59:01.
Dumper.pm File 454 bytes October 13 2019 10:59:01.
Notes.pm File 8312 bytes October 13 2019 10:59:01.
PPMMaker.pm File 4538 bytes October 13 2019 10:59:01.
PodParser.pm File 1305 bytes October 13 2019 10:59:01.

Reading File: //usr//share/perl5/vendor_perl/Module//Build//PodParser.pm

package Module::Build::PodParser;

use strict;
use warnings;
our $VERSION = '0.4224';
$VERSION = eval $VERSION;

sub new {
  # Perl is so fun.
  my $package = shift;

  my $self;
  $self = bless {have_pod_parser => 0, @_}, $package;

  unless ($self->{fh}) {
    die "No 'file' or 'fh' parameter given" unless $self->{file};
    open($self->{fh}, '<', $self->{file}) or die "Couldn't open $self->{file}: $!";
  }

  return $self;
}

sub parse_from_filehandle {
  my ($self, $fh) = @_;

  local $_;
  while (<$fh>) {
    next unless /^=(?!cut)/ .. /^=cut/;  # in POD
    # Accept Name - abstract or C<Name> - abstract
    last if ($self->{abstract}) = /^ (?: [a-z_0-9:]+ | [BCIF] < [a-z_0-9:]+ > ) \s+ - \s+ (.*\S) /ix;
  }

  my @author;
  while (<$fh>) {
    next unless /^=head1\s+AUTHORS?/i ... /^=/;
    next if /^=/;
    push @author, $_ if /\@/;
  }
  return unless @author;
  s/^\s+|\s+$//g foreach @author;

  $self->{author} = \@author;

  return;
}

sub get_abstract {
  my $self = shift;
  return $self->{abstract} if defined $self->{abstract};

  $self->parse_from_filehandle($self->{fh});

  return $self->{abstract};
}

sub get_author {
  my $self = shift;
  return $self->{author} if defined $self->{author};

  $self->parse_from_filehandle($self->{fh});

  return $self->{author} || [];
}

SILENT KILLER Tool