[CWB] multiple commands with WebCqp::Query

Lars Nygaard lars.nygaard at iln.uio.no
Wed Aug 9 13:44:27 CEST 2006


I earlier asked a question on how to use multiple commands in the perl 
interface. After poking about in the modules, I discovered that the way 
to do this. Since it wasn't obvious to me (though it might have been for 
others ...), the solution is reproduced here:


  $q->exec(  ... first command ...    );
  $q->exec(  ... second command ...    );
  ...
  @results = $q->query(   ... command producing kwic lines ...);


cheers,
lars

PS: Did any of you get a chance to look at the script for running test 
suites?



More information about the CWB mailing list