EMBPEXEC(1p)

πŸ“¦
version 2.5.0 Β· 2 versions
, in ubuntu jammy

✨ EMBPEXEC(1p) ✨

okay bestie, welcome to the EMBPEXEC(1p) page β€” it's a User Contributed Perl Documentation situation, and honestly? it's giving "tiny script, big job" πŸ’…


🌸 NAME 🌸

embpexec.pl β€” run an Embperl file offline, no web server required πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

embpexec.pl [-o outputfile] [-l logfile] [-d debugflags] htmlfile
[query_string]

πŸ’– DESCRIPTION πŸ’–

So basically it takes an HTML file β€” or literally any other ascii file, it's not picky β€” that has embedded Perl statements in it, and converts it into a standard HTML file. slay. ✨

htmlfile is the full pathname of the HTML file that Embperl should process. like, the whole path, bestie, not just the cute little filename.

query_string is optional and it means the exact same thing as the environment variable QUERY_STRING means when you're invoked as a CGI script. iykyk. so: QUERY_STRING holds everything that comes after the first ? in a URL. your query_string needs to be URL-encoded. and the default? no query string at all. none. zero. a clean slate 🫢


πŸ’… OPTIONS πŸ’…

  • -o outputfile β€” optional. tells it which filename to write the output to. the default is stdout, so if you don't say anything it just yells into your terminal. iconic behaviour honestly.
  • -o logfile β€” optional. gives the filename of the logfile. the default is /tmp/embperl.log. πŸ“
not me noticing this line says -o again β€” I'm literally just the messenger here, I copy what the page says, no cap πŸ’€
  • -d debugflags β€” optional. sets the level of debugging, aka what gets written to the log file. the default is nothing. nada. silence. for the exact values, go peek at "EMBPERL_DEBUG" in HTML::Embperl. πŸ“–

🌈 SEE ALSO 🌈

  • Embperl

πŸ‘‘ AUTHOR πŸ‘‘

G. Richter (richter at embperl dot org)


and that's the whole vibe check, bestie β€” this was perl v5.34.0, dated 2022-02-06, and that's the energy we're closing on. go run your files offline, main character πŸ§šπŸ’œ

πŸ“¦ where this page comes from