Re: How to print each line as a perl script executes?
- From: "C.DeRykus" <derykus@xxxxxxxxx>
- Date: Mon, 25 Jan 2010 19:45:42 -0800 (PST)
On Jan 25, 5:58 pm, "Uri Guttman" <u...@xxxxxxxxxxxxxxx> wrote:
"JE" == J rgen Exner <jurge...@xxxxxxxxxxx> writes:
JE> Ben Morrow <b...@xxxxxxxxxxxx> wrote:
>>
>> Quoth J?Exner <jurge...@xxxxxxxxxxx>:
>>> Peng Yu <pengyu...@xxxxxxxxx> wrote:
>>> >Is there a way to print the corresponding line in the perl script as
>>> >the script executes?
>>>
>>> perldoc debug
>>
>> ITYM perldoc perldebug.
JE> Interestingly enough "perldoc debug" launches the same man page.
perldoc debug
No documentation found for "debug".
I notice both Strawberry and ActiveState 5.10.1 perldoc's
(v3.15) -- I don't have a 5.10.1 Unix system handy --
apparently apply FWIM (find what I mean) and prepend
'perl' during the search:
c:\strawberry\perl\lib\pods>perldoc -D debug
....
Searching for debug
Looking for debug in C:\Perl\bin C:/Perl/site/lib C:/Perl/lib . C:\Perl
\site\bin ...
Looking for perldebug in C:\Perl\bin C:/Perl/site/lib C:/Perl/lib .
Loosely found as C:\Perl\lib\pods\perldebug.pod
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--
Charles DeRykus
.
- References:
- How to print each line as a perl script executes?
- From: Peng Yu
- Re: How to print each line as a perl script executes?
- From: Jürgen Exner
- Re: How to print each line as a perl script executes?
- From: Ben Morrow
- Re: How to print each line as a perl script executes?
- From: Jürgen Exner
- Re: How to print each line as a perl script executes?
- From: Uri Guttman
- How to print each line as a perl script executes?
- Prev by Date: Re: When to use "use strict;"?
- Next by Date: Re: print array with separator?
- Previous by thread: Re: How to print each line as a perl script executes?
- Next by thread: FAQ 1.7 How stable is Perl?
- Index(es):