Re: Syntax not clear

2009-02-12 Thread Raymond Wan
Hi Anisha, Anisha Parveen wrote: 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. My u

Re: Syntax not clear

2009-02-12 Thread Anisha Parveen
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 s

Re: Syntax not clear

2009-02-12 Thread Chas. Owens
On Thu, Feb 12, 2009 at 05:33, Anisha Parveen wrote: snip >> my $Tmpstr = `$path $HOME/bin/*crypt* -e -f $_keyfile<> $str >> EOF`; snip Your first command was different. Those *s are important. Also, what is in $path. That might will make a difference as well. I would suggest copying thos

Re: Syntax not clear

2009-02-12 Thread Chas. Owens
On Thu, Feb 12, 2009 at 06:47, Rob Dixon wrote: snip > The sequence starting with < in > this case it is a Unix here-document which is process by the command shell. > Before the command is actioned the sequence is replaced by the text between > < code you show was equivalent to > > my $Tmpstr = `

Re: Syntax not clear

2009-02-12 Thread Rob Dixon
Anisha Parveen wrote: > > I am a newbie to Perl scripting. I have a script file, with a statement as > below, which i find takes 1sec to execute. As this is called several times > in the script program, this is resulting in a significant delay in the > program. > > As i am new to the scripting

Re: Syntax not clear

2009-02-12 Thread Rob Dixon
Anisha Parveen wrote: > Anisha Parveen wrote: >> >> I am a newbie to Perl scripting. I have a script file, with a statement as >> below, which i find takes 1sec to execute. As this is called several times >> in the script program, this is resulting in a significant delay in the >> program. >> >>

Re: Syntax not clear

2009-02-12 Thread Anisha Parveen
To be noted : This delay is noted only when the program is run in Solaris machine and not in Red Hat Linux. ALso the delay is not caused by the crypt application..since it takes one second jus to enter into the main of the crypt program. On Thu, Feb 12, 2009 at 3:56 PM, Anisha Parveen wrote