[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
share
/
perl5
/
vendor_perl
/
Module
/
Build
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 Platform
SET
[ DEL ]
📄 API.pod
68,697 B
SET
[ EDIT ]
|
[ DEL ]
📄 Authoring.pod
11,004 B
SET
[ EDIT ]
|
[ DEL ]
📄 Base.pm
165,204 B
SET
[ EDIT ]
|
[ DEL ]
📄 Bundling.pod
5,108 B
SET
[ EDIT ]
|
[ DEL ]
📄 Compat.pm
18,538 B
SET
[ EDIT ]
|
[ DEL ]
📄 Config.pm
1,102 B
SET
[ EDIT ]
|
[ DEL ]
📄 ConfigData.pm
6,842 B
SET
[ EDIT ]
|
[ DEL ]
📄 Cookbook.pm
17,337 B
SET
[ EDIT ]
|
[ DEL ]
📄 Dumper.pm
454 B
SET
[ EDIT ]
|
[ DEL ]
📄 Notes.pm
8,312 B
SET
[ EDIT ]
|
[ DEL ]
📄 PPMMaker.pm
4,538 B
SET
[ EDIT ]
|
[ DEL ]
📄 PodParser.pm
1,305 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: 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} || []; }