accessing a function in ksh from perl

is it possible? Because I know we could use

open(A, `abc.ksh`);

to access a ksh, but is it possible to access just one (or more) function from the ksh script?

in fact, your open statement lets you read the file abc.ksh by associating it with filehandle named A.

afaik, there is no specific Perl function/module to read only the required function from the given script. you may consider writing your subroutine to do that.

Hmmm, really? ok thank you. May be i will just rewrite the function into perl script then.