"Tom Phoenix" <[EMAIL PROTECTED]> writes:
> On Jan 18, 2008 7:00 AM, <[EMAIL PROTECTED]> wrote:
>
>> I just want to find out whether command("mk_view $view_name ETC") is
>> properly running or not.
>
> I think you're looking for the program's exit status. Traditionally on
> Unix and many similar
On Jan 18, 2008 7:00 AM, <[EMAIL PROTECTED]> wrote:
> I just want to find out whether command("mk_view $view_name ETC") is
> properly running or not.
I think you're looking for the program's exit status. Traditionally on
Unix and many similar systems, the exit status is an integer, with 0
meanin
Rob Dixon [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 17, 2008 8:36 PM
To: beginners@perl.org
Subject: Re: Help in system function
[EMAIL PROTECTED] wrote:
> Hi,
>
> Here is the modified code
>
> $vw=system("mk_view $view_name ETC");
>
> print "$vw\n&quo
[EMAIL PROTECTED] wrote:
Hi,
Here is the modified code
$vw=system("mk_view $view_name ETC");
print "$vw\n";
if ($vw)
{ print "view is not created\n";
}
else{
print "View is created \n";
Please help
And what is the modified problem?
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
On Thursday 17 January 2008 09:16:17 [EMAIL PROTECTED] wrote:
> Hi All,
>
>
>
> I am executing following command in Perl script
>
>
>
> $vw=system("mk_view $view_name ETC");
>
> if ($vw)
>
> { print "view created successfully\n";
>
> }
>
>
>
> When I run this command, I am getting message "view c
Hi,
Here is the modified code
$vw=system("mk_view $view_name ETC");
print "$vw\n";
if ($vw)
{ print "view is not created\n";
}
else{
print "View is created \n";
Please help
Regards
Irfan.
From: Sayed, Irfan
Sent: Thursday, Janua