<html><head></head><body>Also, if you avoid the use of the system perl, and maybe use perlbrew to install 5.8.8 on both prod and dev, you may be able to avoid distro-specific inconsistencies (or rule out the system perl as the culprit).<br><br><div class="gmail_quote">On August 22, 2014 2:46:02 PM EDT, "J. Bobby Lopez" <jbl@jbldata.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Compare the actual build number, since the base version number may be the same, but builds are most likely different, especially across distros. It may be that your dev environment has something like a 'no warnings q{uninitialized}' coded into some library on the dev side that doesn't exist in production. Just a guess.<br /><br /><div class="gmail_quote">On August 22, 2014 2:32:48 PM EDT, Fulko Hew <fulko.hew@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<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 style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail"><hr /><br />toronto-pm mailing list<br />toronto-pm@pm.org<br /><a href="http://mail.pm.org/mailman/listinfo/toronto-pm">http://mail.pm.org/mailman/listinfo/toronto-pm</a><br /></pre></blockquote></div></blockquote></div></body></html>