Re: Syntax not clear



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 <anishaparveen2202@xxxxxxxxx
wrote:

Hi all,

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 language , i am unable to figure out why does
this statement exection takes so much time.

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

I have given a print statement above this line in the script file and when
i give another print statement inside the main of 'crypt' i see it takes one
second, just to enter into the main of that application.

Can someone provide some pointers into what exactly is done by this
portion of the above statement,

<<EOF
$str
EOF`;





Relevant Pages

  • Re: kdetv
    ... I tried MythTV once and found it way to complex for what I needed, ... have is when changing channels I get a 5 second delay. ... The script also deletes the file once I close mplayer. ... Ideally I woud just do `mplayer /dev/video0` and be done with it. ...
    (alt.os.linux.suse)
  • Re: Copy a file accross a LAN during startup
    ... It would be a lot cleaner (not delay or pause ... > statement needed) if I could insure that the script was issued after the ... >>> as to the difference in her case between startup and logon. ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Serial Port and asynchronous event help need
    ... proc repeat {delay script} { ... after $delay repeat $delay $script ...
    (comp.lang.tcl)
  • Re: Javascript can load a script dynamically?
    ... From memory, Firefox needs a delay of about 10ms, after the script has finished loading, to be able to *reliably* call any function. ... It needs the current execution context to exit before it will update the script blocks and make any code in the .js file accessible. ...
    (comp.lang.javascript)
  • Re: Syntax not clear
    ... variable XYZ_PATH..it points to a lib directory (in the local machine only) ... As mentioned earlier just to print the first line inside the main of crypt, ... which actually mounts up to a significant delay in my ... fact that it is executed as a unix command. ...
    (perl.beginners)