$ulist[$i]{'Title'} || = "";
print "\t\t<td nowrap>$ulist[$i]{'Title'}</td>\n";
[e]
"Tomasi, Chuck" wrote:
>
> Perl: 5.6.0
> DBI: 1.2.0
> DBD::Oracle: 1.12
> OS: Solaris 2.7
>
> I'm reading in a list of users from an Oracle database. Some fields are
> required, some are optional (e.g. Title.) When I get back my populated
> array of hashes, I have no idea what I got until I print it. Unfortunately,
> while using strict, I get the dubious message:
>
> Use of uninitialized value in concatenation (.) at /path...pl line 1288
>
> every time a record comes up with no title field populated.
>
> Is there some way to make this work whether a value was read from the
> database or not?
>
> print "\t\t<td nowrap>$ulist[$i]{'Title'}</td>\n";
>
> --Chuck
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
Etienne Marcotte
Specifications Management - Quality Control
Imperial Tobacco Ltd. - Montreal (Qc) Canada
514.932.6161 x.4001
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]