develooper Front page | perl.beginners | Postings from February 2009

Syntax not clear

Thread Next
From:
Anisha Parveen
Date:
February 12, 2009 02:27
Subject:
Syntax not clear
Message ID:
e4bb385c0902120226g410cb958o418287c352e5c0c5@mail.gmail.com
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`;

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About