[Raleigh-talk] life without use strict
Trevor Little
trevormg19 at gmail.com
Thu Feb 12 11:44:31 PST 2009
On accident. use strict was placed inside a BEGIN {} block. So it was only
in affect in that block, not the rest of the module.
On Thu, 12 Feb 2009 14:08:01 -0500, Ian Kilgore <iank at cpan.org> wrote:
> On Thu, Feb 12, 2009 at 01:02:56PM -0500, Trevor Little wrote:
>> Yeah,
>> The example I e-mailed out was a minimalistic version of what I found
>> in live code. In the real code the '1' was passed through several
>> subroutines until finally getting dereferenced. The fact that we were
>> still getting the data we wanted at that point was sheer luck. Much
>> could
>> have gone wrong. Anyway, thanks again for the help everybody. I guess
>> this
>> goes into the "that's why my mother always told me to use strict" pile.
>>
>> Trevor
>>
>> --
>> Trevor
>
> Why was strict 'refs' off in live code?
--
Trevor
More information about the Raleigh-talk
mailing list