@MILLER thanx for the reply.
but i had other concern.
Suppose i have a script hello.pl
- print "Hello World\n";
-
print "hi \n";
-
if($ARGV[0]=~m/(ABC|abc)/)
-
{
-
print"successful\n";
-
}
-
else
-
{
-
print"unsuccessful"
-
}
and value of ARGV[0] i'm passing from my GUI.
i'm collecting the output as
- my $result = `perl hello.pl`;
#and now i want to display the output in my text wideget.
for which the code is
- $contents->insert('end',"$result\n");
output which i get on my GUI is
Hello World
hii
unsuccessful (even if i'm passing ABC or abc from my GUI)
i know i'm doing something wrong but not finding the correct way.
let me know the way if you know..THANX IN ADVANCE.