<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Maybe it is a timing issue. It may be running more slowly on the
production system and when you run it with the debugger.</DIV>
<DIV> </DIV>
<DIV>You get the error when you run it with the debugger, but what happens if
you start it with the debugger but place no breakpoints in the code?</DIV>
<DIV> </DIV>
<DIV>Perhaps you can reproduce the error message with some sleep statements
placed at the same spots as where you stopped with the debugger.</DIV>
<DIV> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">Indy
Singh<BR>IndigoSTAR Software -- www.indigostar.com</DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=fulko.hew@gmail.com
href="mailto:fulko.hew@gmail.com">Fulko Hew</A> </DIV>
<DIV><B>Sent:</B> Friday, August 22, 2014 2:32 PM</DIV>
<DIV><B>To:</B> <A title=toronto-pm@pm.org
href="mailto:toronto-pm@pm.org">toronto-pm@pm.org</A> </DIV>
<DIV><B>Subject:</B> [tpm] why wouldn't violating "use warnings" always be
fatal?</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'><SPAN
style="FONT-FAMILY: courier new,monospace"><BR>I just got bitten by different
behavior on different platforms,<BR>and I can't justify it. Perhaps someone out
there can?<BR><BR>Platform #1: Perl 5.8.8 on Fedora
(development system)<BR>Platform #2: Perl 5.8.8 on Debian
(production system)<BR><BR>It turns out my application _did_ have a bug in it,
but it wasn't<BR>detected during my testing when run on the dev sys, but
failed<BR>when the same dataset was encountered on the production
system.<BR><BR>a) I have 'use strict' and 'use warnings' in my app.<BR>b) I had
an uninitialized variable used in a print statement.<BR><BR>On the production
machine... my app died with the error:<BR>'<SPAN class=st>Use of uninitialized
value in concatenation'<BR>just as you would expect.<BR><BR>But on my dev sys,
the app doesn't die, or even complain!<BR><BR>Once I found out what was
happening, I ran it under the debugger on my dev sys,<BR>and when I stepped
through the print statement... It bitches and dies.<BR>But without the
debugger, all is (apparently) happy.<BR>(That's why I didn't detect and
fix the bug during testing.)<BR><BR>So...<BR>Why would my dev sys only flag and
die under the debugger (and not with a normal run)?<BR>And why does my prod
system, work correctly (ie. flag and die) ?<BR><BR><BR><BR><BR></SPAN></SPAN>
<P>
<HR>
_______________________________________________<BR>toronto-pm mailing
list<BR>toronto-pm@pm.org<BR>http://mail.pm.org/mailman/listinfo/toronto-pm<BR></DIV></DIV></DIV></BODY></HTML>