ProductInfo Object

A CQProductInfo object provides HCL Compass product information, such as product version, license version and company information.

Note: The CQProductInfo object and its methods are for usage with Perl only.

The CQProductInfo methods return information to identify product information and its current build. The methods of CQProductInfo allow you to retrieve information such as:

  • Product versions
  • Company information
  • Licensing information

To create a CQProductInfo object, you can use the CreateProductInfo method of a HCL Compass object. For example:


   use CQPerlExt;

   my $cqobject = CQSession::Build();

   my $prodinfo = $cqobject->GetProductInfo();

   print $prodinfo->GetProductVersion(),"\n";

   CQSession::Unbuild($cqobject); 

You can also CQProductInfo methods directly, from Perl, without creating a HCL Compass session.


   use CQPerlExt;

   print CQProdInfo::GetProductVersion(),"\n";