How to run Perl script in questasim?

I have coded perl script for regression. there are no error in it. i want to know how to invoke perl script in questasim?

thanks

In reply to pppp40:

Try the following :

exec perl myscript.pl

In reply to graeme_jessiman:

it is not working

In reply to pppp40:

‘exec’ just runs an external command.

in my example, myscript.pl contain the following

#!/usr/bin/perl
print “Hello World!”

then ‘exec perl myscript.pl’ prints the “Hello world!” string

Do you have $PATH pointing to your perl install ?

In reply to graeme_jessiman:

pppp40,

You need to provide a lot more details than “it is not working”

In reply to dave_59:

how to run simulation and compile command from perl script for questasim?

In reply to pppp40:

Your last comment (use perl to run questasim) seems to be the reverse of your original question (use Questasim to run perl script).

This forum is not for tool specific help, and not really the right place to learn how to use PERL.

In reply to dave_59:

ok no problem…as you wish…