I’m trying to play around with FvwmPerl, so see if I can use it for my config files, but haven’t gotten anything to work as yet.
I’ve been testing in the FvwmConsole
I issue the command
ModuleSynchronize FvwmPerl
And create the function
AddToFunc .
+ I SendToModule FvwmPerl preprocess -c -- $*
The problem is, the preprocessing examples in the man page don’t work
. Exec exec xterm -name xterm-%{++$i}%
I get the following message in my .xsession-errors
Unescaped left brace in regex is passed through in regex; marked by ← HERE in m/% { ← HERE ( .*? ) } %/ at /usr/local/libexec/fvwm3/1.0.7/FvwmPerl line 324.
Or, the examples seem to do nothing, on output, nothing on .xsession-errors
I’m using
fvwm3 1.0.7 (1.0.6a-16-g4ef39533)
with support for: ReadLine, XPM, PNG, SVG, Shape, XShm, SM, Bidi text, XRandR, XRender, XCursor, XFT, NLS
on Fedora 37.
Maybe I’m missing something obvious, or doing it all wrong, but basically, I want to know how I can get started using perl to do arithmetic in my config files