---
name: "Graph::DFS"
section: "3pm"
platform: "linux"
package: "libgraph-perl"
version: "0.20102-1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/Graph::DFS"
---

# Graph::DFS(3pm)

graph depth-first search

## NAME

Graph::DFS - graph depth-first search

## SYNOPSIS

**see description**

## DESCRIPTION

- new

  ```
          $dfs = Graph::DFS->new($G, %param)
  ```

  ```
          Returns a new depth-first search object for the graph $G
          and the (optional) parameters %param.
  ```

See also `"Graph::Traversal"`.

## COPYRIGHT

Copyright 1999, O'Reilly & Associates.

This code is distributed under the same copyright terms as Perl itself.
