Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
and I run perldebug, using s to step through the lines, when I get to the second line, I will need to input something. When running the debugger, though, it just steps through this line and $invest remains undefined. How do I get the debugger to let me input the values where the program needs them? Thanks in advance, Jimprint "How much would you like to invest in Microsoft? \n" $invest = <STDIN>; chomp $invest; $losses = $invest; print "You will lose $losses \n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Debugger useage (sorry
by mikfire (Deacon) on May 03, 2000 at 20:46 UTC | |
|
Re: Debugger useage (sorry
by perlmonkey (Hermit) on May 04, 2000 at 09:24 UTC | |
by questor (Acolyte) on May 04, 2000 at 21:43 UTC | |
|
Re: Debugger useage (sorry
by Anonymous Monk on May 03, 2000 at 22:55 UTC |