UNSOLVED

bailing

updated

16 years ago

B

bailing

3 Posts

0

4067

November 15th, 2010 19:00

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

    2 Intern

    417 Posts

    817

    0

    Posted 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.

  • gstuartemc

    2 Intern

    417 Posts

    817

    1

    Posted 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

    816

    0

    Posted 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.

  • bailing

    3 Posts

    816

    0

    Posted 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.