X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5873607e5c6d255f5692cc37637551eaeb2e4472..d7af2feac42c8b27a0823131dc2f4004c2472279:/docs/latex/wx/layout.tex

diff --git a/docs/latex/wx/layout.tex b/docs/latex/wx/layout.tex
index ac9f3bffc3..018b1f3064 100644
--- a/docs/latex/wx/layout.tex
+++ b/docs/latex/wx/layout.tex
@@ -28,9 +28,9 @@ not be changed.
 
 \perlnote{In wxPerl the constraints are accessed as
 \begin{verbatim}
-  my( \$constraint ) = Wx::LayoutConstraints->new();
-  \$constraint->centreX->AsIs();
-  \$constraint->centreY->Unconstrained();
+  constraint = Wx::LayoutConstraints->new();
+  constraint->centreX->AsIs();
+  constraint->centreY->Unconstrained();
 \end{verbatim}
 }
 
