in reply to Pattern for a shell-style call + error response
I guess you could do
my $libobj = Third::Party::Library->new(...); my $item = $libobj->NewItem(...); ! $item->frobinize(...) or die($libobj->GetErrorCode); ! $item->blatinate(...) or die($libobj->GetErrorCode);
but that hardly seems like an improvement.
|
|---|