From: saladin.mundi@... Date: 2007-11-18T01:10:54+09:00 Subject: Re: Observe variable set and variable change > You can try trace_var (or whatever the name was) > > trace_var :$x, proc{print "$x is now ", $x, "\n"} thanks guys. to trace_var this as i see is just for tracing global vars. it would be great if there is a way for also tracing vars inside methods. def x() z = 10 z = 42 end --> the variable z was initialized with the value 10 --> the variable z was changed with the value 42