---
name: "embpexec"
section: "1p"
platform: "linux"
package: "libembperl-perl"
version: "2.5.0-17"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/embpexec"
---

# embpexec(1p)

Run an Embperl file offline

## NAME

embpexec.pl - Run an Embperl file offline

## SYNOPSIS

embpexec.pl \[**-o** *outputfile*\] \[**-l** *logfile*\] \[**-d** *debugflags*\] *htmlfile* \[*query\_string*\]

## DESCRIPTION

Converts an HTML file (or any other ascii file) with embedded Perl statements into a standard HTML file.

*htmlfile* is the full pathname of the HTML file which should be processed by Embperl.

*query\_string* is optional and has the same meaning as the environment variable `"QUERY_STRING"` when invoked as a CGI script. That is, `"QUERY_STRING"` contains everything following the first "?" in a URL. *query\_string* should be URL-encoded. The default is no query string.

## OPTIONS

- **-o** *outputfile*

  Optional. Gives the filename to which the output is written. The default is stdout.

- **-o** *logfile*

  Optional. Gives the filename of the logfile. The default is */tmp/embperl.log*.

- **-d** *debugflags*

  Optional. Specifies the level of debugging (what is written to the log file). The default is nothing. See "EMBPERL\_DEBUG" in HTML::Embperl for exact values.

## SEE ALSO

Embperl

## AUTHOR

G. Richter (richter at embperl dot org)
