Keep It Simple, Stupid | |
PerlMonks |
Re^2: Debugger line numbering anomalyby LanX (Saint) |
on Dec 24, 2019 at 18:09 UTC ( [id://11110594]=note: print w/replies, xml ) | Need Help?? |
The debugger doesn't parse the code, it simply assigns every line found to an internal array, according to line-endings "\n" and shows them in accordance to the compiled line-numbers. Now if the Perl compiler got confused by multi-lines (very unlikely), this could be demonstrated by including a warn message.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|