i can has $. ?

Help
2007-08-29
2013-05-20
  • Jack Tanner
    Jack Tanner
    2007-08-29

    I want something to tell me, while I'm debugging, the current line # from the input file. For instance, I'd like to add a watch for $. . Is that possible?

     
    • Jan Ploski
      Jan Ploski
      2007-08-29

      Well, you can enable "Show Global Variables" and "Show Perl Internal Variables" in the Variables view to make $. appear there. Another way to check a variable's value is to use the Perl expression view. There's no support for watch expressions in EPIC (they seem to cause huge performance problems, btw).