---
name: "ExtUtils::XSpp::Node::File"
section: "3pm"
platform: "linux"
package: "libextutils-xspp-perl"
version: "0.1800-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ExtUtils::XSpp::Node::File"
---

# ExtUtils::XSpp::Node::File(3pm)

Directive that sets the name of the output file

## NAME

ExtUtils::XSpp::Node::File - Directive that sets the name of the output file

## DESCRIPTION

An ExtUtils::XSpp::Node subclass representing a directive to change the name of the output file:

```
  %file{file/to/write/to.xs}
```

A special case is

```
  %file{-}
```

which indicates that output should be written to STDOUT.

## METHODS

### new

Creates a new `"ExtUtils::XSpp::Node::File"`.

Named parameters: `"file"`, the path to the file that should be written to (or '-').

## ACCESSORS

### file

Returns the path of the file to write to (or `"-"` for STDOUT).
