The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Articulate::File - represent a file

DESCRIPTION

This represents a binary blob of content which is uploaded as a file and should ideally be moved straight into the database rather than loaded into memory.

It may also in future be used to represent files on the way out. The interface is currently unstable as it is largely copied from Dancer's file handling and is written to 'what works'.

ATTRIBUTES

content_type

The MIME type of the content.

headers

The HTTP headers which came with the file.

filename

The name of the file.

io

The IO::All object which corresponds to the file handle.