bailing
1 Copper

Using Perl Programming,How can I capture the output from Centera?

I used CASScript to connect Centera, after i connect centera, i will use "clipexist" command to get the result.

it can return "true" or "false".

my question is: how can i use Perl programming to capture the output from Centera automatically?

Tks a lot/

0 Kudos
4 Replies
gstuartemc
2 Iron

Re: Using Perl Programming,How can I capture the output from Centera?

There is no official support for Perl. We did at one time have a Perl wrapper (that was made available to interested parties as part of a Professional Services engagement), but it is no longer maintained.

bailing
1 Copper

Re: Using Perl Programming,How can I capture the output from Centera?

we will use Expect->before() to get the output.It returns the 'before' part of the last expect() call.

anyway, i will appreciate you.

this is my first time to ask a question here.

and so quickly get a feedback.

0 Kudos
gstuartemc
2 Iron

Re: Using Perl Programming,How can I capture the output from Centera?

Ok - good! I misunderstood your question - I thought you were wanting to connect to (and interrogate) the Centera via Perl.

Be aware that the Clip Exists call can be quite a lengthy operation when the answer if "false" and the cluster is on older versions of CentraStar.

0 Kudos
bailing
1 Copper

Re: Using Perl Programming,How can I capture the output from Centera?

there is still a problem, i can't communicate with CASScript constantly,

whenever i got the clickExsit result"true"or 'false",

the Solarsi shell would get back the mastery from CASScript.

0 Kudos