Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
If your program requires input, for example,
print "How much would you like to invest in Microsoft? \n"
$invest = <STDIN>;
chomp $invest;
$losses = $invest;
print "You will lose $losses \n";
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,
Jim