From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

\documentclass{article}
% Test undefined environs
\def\foo{Foo}
\begin{document}
before
\begin{foo}
inside
\end{foo}
after
\end{document}