On 3/20/07, Rodrigo Tavares <[EMAIL PROTECTED]> wrote:
Hello,

I made a script with shell script using dialogs.
I try to use the commando Dialog in a perl script.
But i can't run the dialog in perl script.
snip

What have you already tried to do?  It should be as simple as

#catch the output of command
my $return = `command`; #note the use of backquotes

or

#catch the return code or "errorlevel" of command
my $return = system "command";
my $errorlevel = $? >> 8;

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to