Re: BUG - perl binding and IDL include path
- From: Owen Taylor <otaylor redhat com>
- To: orbit-list gnome org
- Cc: Alex Hornby <alex anvil co uk>
- Subject: Re: BUG - perl binding and IDL include path
- Date: 14 Dec 2000 12:25:28 -0500
Alex Hornby <alex anvil co uk> writes:
> Thanks Owen,
>
> The patch fixed the cpp problem I was seeing.
>
> I'm looking at transitioning from COPE, so expect a few more questions
> to the list :)
>
> In CORBA:ORBit how can I create and test for a nil object
> reference? In COPE would do:
>
> my $obj = CORBA::Object::_nil();
> if ( $obj->is_nil() ) {
> printf STDERR "its nil!\n";
> }
nil object references are mapped to undef .
my $obj; # or my $obj = undef; if you like being explicit
if (!defined $obj) {
printf STDERR "its nil\n";
}
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]