Y
Yevgen Reznichenko
Hello,
i want to use kdialog from my perl script. The return code of kdialog is
stored in the variable $?, but i an unable to access this:
my $result = $ENV{'\?'};
print "--> $result";
cause following warning:
Use of uninitialized value in concatenation (.) or string at
programs/mails_pop3.pl line 49, <FILE> line 1.
-->
if i print all available env variables, with:
foreach $key (sort(keys %ENV)) {
print "$key = $ENV{$key}\n";
}
so $? will not be listed. Do you know how i can get access to this variable?
Regards,
Yevgen
i want to use kdialog from my perl script. The return code of kdialog is
stored in the variable $?, but i an unable to access this:
my $result = $ENV{'\?'};
print "--> $result";
cause following warning:
Use of uninitialized value in concatenation (.) or string at
programs/mails_pop3.pl line 49, <FILE> line 1.
-->
if i print all available env variables, with:
foreach $key (sort(keys %ENV)) {
print "$key = $ENV{$key}\n";
}
so $? will not be listed. Do you know how i can get access to this variable?
Regards,
Yevgen