Re: Help in system function

2008-01-18 Thread reader
"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

Re: Help in system function

2008-01-18 Thread Tom Phoenix
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

RE: Help in system function

2008-01-18 Thread Irfan.Sayed
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

Re: Help in system function

2008-01-17 Thread Rob Dixon
[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]

Re: Help in system function

2008-01-17 Thread Stephen Kratzer
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

RE: Help in system function

2008-01-17 Thread Irfan.Sayed
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