in reply to Re^2: How to locate an error in a CGI application
in thread How to locate an error in a CGI application

how to locate the line
Open the file mainscript.cgi with your favourite editor. Put the cursor on line 1, then move it down 85 times. With vi that's typing 85j (or :86) while in command mode. You should end up on line 86.

What's on that line?

update: reading your reply, I see that I missed some information (which you didn't post). You meant to ask

how to locate the file and the line

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Replies are listed 'Best First'.
Re^4: How to locate an error in a CGI application
by rbi (Monk) on Aug 16, 2007 at 14:12 UTC
    There's no line 86. The mainscript.cgi is 72 lines.
    However, it uses several modules.