Re: [RDBO] Odd Autoinitialization

2008-02-12 Thread Wiggins d'Anconia
John Siracusa wrote: > On Feb 11, 2008 8:55 PM, Wiggins d'Anconia <[EMAIL PROTECTED]> wrote: >> my $test = $user->profile->user_agreement_accepted_on; >> warn "test: $test\n"; >> unless (defined $test) { >> ... >> } >> >> Which results in 3 log lines, >> >> Use of uninitialized value in concate

Re: [RDBO] Odd Autoinitialization

2008-02-11 Thread John Siracusa
On Feb 11, 2008 8:55 PM, Wiggins d'Anconia <[EMAIL PROTECTED]> wrote: > my $test = $user->profile->user_agreement_accepted_on; > warn "test: $test\n"; > unless (defined $test) { > ... > } > > Which results in 3 log lines, > > Use of uninitialized value in concatenation (.) or string at > /.../C

[RDBO] Odd Autoinitialization

2008-02-11 Thread Wiggins d'Anconia
This strikes me as very odd, and I've looked into trying things like undef_overrides_default, etc. but haven't a clue where to look next. I have an RDBO with a timestamp column in Pg. The object is a 'profile' and is 1-to-1 related to a 'user'. One of the fields of the profile is supposed to be th