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, January 17, 2008 7:46 PM To: 'beginners@perl.org' Subject: Help in system function 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 created successfully". But in reality command is not executing at all Please help Regards Irfan.