So, supposing you wanted to watch $foo, you could say
< print "foo is $foo\n";
If you want to set a multiple-line command to run, put backslashes at the end of the lines to continue to another line.
Update: ferrency's method works much better :) Anybody know why 'W' doesn't seem to be in Perl in a Nutshell? Wish I had known about that earlier....
In reply to Re: Watch in Debug
by Cirollo
in thread Watch in Debug
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |