Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 API for Perl Documentation | 2025.2

# Class P4::DepotFile

## Description

`P4::DepotFile` objects are used to present information about files in the P4 Server repository. They are returned by `P4::RunFilelog()`.

## Class Methods

None.

## Instance Methods

### $df->DepotFile() -> string

Returns the name of the depot file to which this object refers.

### $df->Revisions() -> array

Returns an array of `P4::Revision` objects, one for each revision of the depot file.

Your search for returned results