Olof Johansson > Transmission-Client-0.0804 > Transmission::Torrent::File

Download:
Transmission-Client-0.0804.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Transmission::Torrent::File - file within a Transmission torrent

ATTRIBUTES ^

id

 $int = $self->id;

This file index in the files list.

length

 $num = $self->length;

File size in bytes.

name

 $str = $self->name;

bytes_completed

 $num = $self->bytes_completed;

Bytes downloaded.

wanted

 $bool = $self->wanted;

Flag which decides if this file will be downloaded or not.

priority

 $int = $self->priority;

Low, Normal or High, with the respectable values: -1, 0 and 1.

METHODS ^

BUILDARGS

 $hash_ref = $class->BUILDARGS(\%args);

Convert keys in %args from "CamelCase" to "camel_case".

LICENSE ^

AUTHOR ^

See Transmission::Client

syntax highlighting: