Unsolved
This post is more than 5 years old
3 Posts
0
3986
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/
gstuartemc
417 Posts
1
November 16th, 2010 02:00
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
3 Posts
0
November 16th, 2010 22:00
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.
gstuartemc
417 Posts
0
November 17th, 2010 05:00
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.
bailing
3 Posts
0
November 17th, 2010 23:00
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.