App-SimpleBackuper
view release on metacpan or search on metacpan
local/lib/perl5/Module/Build/Base.pm view on Meta::CPAN
$metadata{provides} = $pkgs if %$pkgs;
} else {
$self->log_warn("$@\nWARNING: Possible missing or corrupt 'MANIFEST' file.\n" .
"Nothing to enter for 'provides' field in metafile.\n");
}
if (my $add = $self->meta_add) {
if (not exists $add->{'meta-spec'} or $add->{'meta-spec'}{version} != 2) {
require CPAN::Meta::Converter;
if (CPAN::Meta::Converter->VERSION('2.141170')) {
$add = CPAN::Meta::Converter->new($add)->upgrade_fragment;
delete $add->{prereqs}; # XXX this would now overwrite all prereqs
}
else {
$self->log_warn("Can't meta_add without CPAN::Meta 2.141170");
}
}
while (my($k, $v) = each %{$add}) {
$metadata{$k} = $v;
}
local/lib/perl5/Net/SFTP/Foreign.pm view on Meta::CPAN
=item $sftp-E<gt>mput($local, $remotedir, %opts)
=item $sftp-E<gt>mput(\@local, $remotedir, %opts)
similar to L</mget> but works in the opposite direction transferring
files from the local side to the remote one.
=item $sftp-E<gt>join(@paths)
returns the given path fragments joined in one path (currently the
remote file system is expected to be UNIX like).
=item $sftp-E<gt>open($path, $flags [, $attrs ])
Sends the C<SSH_FXP_OPEN> command to open a remote file C<$path>,
and returns an open handle on success. On failure returns
C<undef>.
The returned value is a tied handle (see L<Tie::Handle>) that can be
used to access the remote file both with the methods available from
local/lib/perl5/Test/Trap.pm view on Meta::CPAN
=head2 systemsafe
A capture strategy provided by L<Test::Trap::Builder::SystemSafe>,
like the default strategy, except it outputs on file handles with the
same file descriptors as the trapped output handle originally had, and
so can be used to trap output from forked-off processes, including
system().
This strategy may be "safe" in relation to forked-off processes, but
it is fragile. For one, it only works with handles that have "real"
file descriptors. For another, it depends on the original file
descriptors being available after closing. (If signal handlers or
threads open files, they may well not be.) And it may fail in other
ways. But in relation to forked-off processes, the other pre-defined
strategies will silently fail to trap, as will similarly simple
strategies. This one, when not crashing, will trap that output.
=head2 systemsafe-preserve
A variant of the capture strategy provided by
( run in 1.082 second using v1.01-cache-2.11-cpan-b16cb0d3907 )