![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re: Basic debugging checklistby LanX (Saint) |
on Dec 03, 2017 at 13:54 UTC ( #1204800=note: print w/replies, xml ) | Need Help?? |
Hi toolic Nice work, but may I suggest that > Display the contents of variables using print or warn > warn "$var\n"; is changed to warn "<$var>"; ? Two reasons:
Cheers Rolf
updateI just realized that your point 3 covers chomp and detecting whitespace, but I'm still not sure why you're disabling the line info in warn.
In Section
Tutorials
|
|