One Hat Cyber Team
Your IP :
172.16.0.254
Server IP :
58.26.163.33
Server :
Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Server Software :
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
PHP Version :
7.3.25
Buat File
|
Buat Folder
Eksekusi
Dir :
C:
/
xampp7
/
perl
/
vendor
/
lib
/
FFI
/
Platypus
/
Edit File:
Legacy.pm
package FFI::Platypus::Legacy; use strict; use warnings; # ABSTRACT: Legacy Platypus interfaces our $VERSION = '1.31'; # VERSION package FFI::Platypus; sub _package { my($self, $module, $modlibname) = @_; ($module, $modlibname) = caller unless defined $modlibname; my @modparts = split /::/, $module; my $modfname = $modparts[-1]; my $modpname = join('/',@modparts); my $c = @modparts; $modlibname =~ s,[\\/][^\\/]+$,, while $c--; # Q&D basename { my @maybe = ( "$modlibname/auto/$modpname/$modfname.txt", "$modlibname/../arch/auto/$modpname/$modfname.txt", ); foreach my $file (@maybe) { if(-f $file) { open my $fh, '<', $file; my $line = <$fh>; close $fh; if($line =~ /^FFI::Build\@(.*)$/) { $self->lib("$modlibname/$1"); return $self; } } } } require FFI::Platypus::ShareConfig; my @dlext = @{ FFI::Platypus::ShareConfig->get("config_dlext") }; foreach my $dlext (@dlext) { my $file = "$modlibname/auto/$modpname/$modfname.$dlext"; unless(-e $file) { $modlibname =~ s,[\\/][^\\/]+$,,; $file = "$modlibname/arch/auto/$modpname/$modfname.$dlext"; } if(-e $file) { $self->lib($file); return $self; } } $self; } 1; __END__ =pod =encoding UTF-8 =head1 NAME FFI::Platypus::Legacy - Legacy Platypus interfaces =head1 VERSION version 1.31 =head1 DESCRIPTION This class is private to L<FFI::Platypus>. =head1 AUTHOR Author: Graham Ollis E<lt>plicease@cpan.orgE<gt> Contributors: Bakkiaraj Murugesan (bakkiaraj) Dylan Cali (calid) pipcet Zaki Mughal (zmughal) Fitz Elliott (felliott) Vickenty Fesunov (vyf) Gregor Herrmann (gregoa) Shlomi Fish (shlomif) Damyan Ivanov Ilya Pavlov (Ilya33) Petr Pisar (ppisar) Mohammad S Anwar (MANWAR) Håkon Hægland (hakonhagland, HAKONH) Meredith (merrilymeredith, MHOWARD) Diab Jerius (DJERIUS) =head1 COPYRIGHT AND LICENSE This software is copyright (c) 2015,2016,2017,2018,2019,2020 by Graham Ollis. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. =cut
Simpan