Re: FVWM: Arithmetics?

From: Felix E. Klee <felix.klee.fvwm_at_gmx.net>
Date: Thu, 24 Apr 2003 09:38:23 +0200

On Tuesday 22 April 2003 20:31, Mikhael Goikhman wrote:
> > 2. It seems that with "." it is only possible to embed one Perl command
> > in %{ ... }% at a time (i.e. not several Perl commands separated by
> > ';'). That should be made clear in the FAQ.
>
> What is the problem with 2 or 10 commands? Works fine for me (prints 3):
>
> . Exec exec xmessage %{ $count = 1; $count++; $count + 1 }%

Hm, I cannot reprocude the problem I had anymore. I was assigning several
variables in a statement similar to
    . Nop %{ $a = 3; $b = 5; }%
called from inside a function, and somehow the variables didn't get defined.
However, now it works. Maybe I accidentally entered some syntactically
incorrect Perl code.

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Apr 24 2003 - 02:39:44 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST