Synopsis:
watch Perl-expression
Stop every time Perl-expression changes from its prior value.
Examples:
watch $a # enter debugger when the value of $a changes
watch scalar(@ARGV)) # enter debugger if size of @ARGV changes.
See also
delete
, enable
, disable
, and info watch
.