There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

PFT::Content::Attachment - Binary attachment

SYNOPSIS

use PFT::Content::Attachment;

my $f1 = PFT::Content::Attachment->new({
    tree => $tree,
    path => $path,
    name => $name,  # optional, defaults to basename($path)
});

DESCRIPTION

Extends PFT::Content::Blob. Retains the same interface.