Hi, thanks for the response,
I observed this behavior on Windows, Linux and NetWare.
On Mon, 28 Mar 2005 03:05:10 -0800, John W. Krahn <[EMAIL PROTECTED]> wrote:
> Rathna N wrote:
> > Hi,
>
> Hello,
>
> > I've a very basic question for clarification.
&
Hi,
I've a very basic question for clarification.
1.c:/script1 has below lines
$ENV{PERL_ROOT} ='D:/';
open(fh,'perl script2.pl |');
$x=;
close fh;
print $x;
2. Script2 has just one line
print "hello";
When I execute the script 1, it doesn't execute or find script2.
It works fine, if I give co
1. first ($facility_i<<3) will be left shifted thrice
2. the above shift result is bit ORed with $priority_i and value is
assigned to $d.
ex:
perl -e '$x=4; $d=(($x<<3)|(5)); print $d;'
Prints : 37
Regards,
Rathna.
On Fri, 18 Mar 2005 10:18:55 +0100, Angerstein <[EMAIL PROTECTED]> wrote:
You should be able to do it, by waiting for the return value.
Ex:
viRetValue=system("Comnnad String");
or
viRetValue = ``;
--
Regards,
Rathna.
On Sun, 6 Mar 2005 23:07:19 -0800 (PST), Harold Castro
<[EMAIL PROTECTED]> wrote:
> Hi,
> I wrote a script with a line,
> system('vi ./config.txt');
then what about thru (``) Backtic or open call ?
Syntax:
1. $x=`ps -ef`;
2. open(fh,"$cmd |");
Regards,
Rathna
On Thu, 3 Mar 2005 16:25:45 -0800, Nishi Prafull <[EMAIL PROTECTED]> wrote:
> Apparently, the first command spawns a new shell when it is executed
> and the control is never returned