Hi Owens/Rob,

Thanks for your help Rob and Owens.

$path is actually for setting the value for an user define environment
variable XYZ_PATH..it points to a lib directory (in the local machine only)

*Let me try to summarize the issue:*

Crypt is an application that is used to encrypt/decrypt the strings passed
as input. I have checked all those functions , they are not causing the
delay.

As mentioned earlier just to print the first line inside the main of crypt ,
it takes one sec, which actually mounts up to a significant delay in my
program, considering the number of calls made to the subroutine having this
statement.

I tried an alternative to using the HERE DOCUMENT..i passed the
stringVairable as input to the crypt application as another command line
argument. I modified the statement in question to :
*

my $Tmpstr = `$path $HOME/bin/crypt -e -f $_keyfile -p $str;
*

With this also there isn/t much improvement. The delay still persists.

>From the explanations given by you,I doubt if the delay is caused due to the
fact that it is executed as a unix command. Rob had explained how it
works..So can that be the reason ?

If yes, I would like to hear few alternatives, so that I can try them.

Any help would be highly appreciated, as I am working on it for quite
sometime now..

Thanks,

Anisha

Reply via email to