On Saturday 04 March 2006 10:52 am, Patrick LeBoutillier wrote:
> Hi all,
>
> Just a quick message to mention the release of Inline::Java 0.50_92.
Typos in doc:
my $b = new Pod_Button() ;
$b->OpenCallbackStream() ;
while ((my $rc = $t->WaitForCallback(5)) > -1){
>> ^^ should be "$b"
if ($rc > 0){
# A callback is pending, we must process it.
$t->ProcessNextCallback() ;
>> ^^ should be "$b"
}
else {
# A timeout has occured after, in this case, 5 secs.
print "5 seconds have passed, still waiting for callback...\n" ;
# Maybe do some other stuff
}
}
$b->close() ;
Jay