Name

new

Synopsis

$folder = new(ftype[, foldername][, options])

Description

Creates a new Mail::Folder object of the specified type. Arguments are:

ftype

The type of folder. Possible values are mbox, maildir, emaul, or NNTP.

foldername

The name of the folder. If present, the open method is called with foldername as the argument.

options

A hash where the following options may be the keys:

Get Perl in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.