What was the name of the scalar? Does changing the name of the scalar also fix the segfault? I'm thinking maybe it was one of Perl's predefined global variables (man perlvar), or maybe it was used in an END block in one of the modules you're using.
Comment on Re: Another good reason to "use strict"?