Can anybody explains this piece of code, i have difficulties in understanding it,
my $errorlog = "/var/log/controler.log"; &initLanguage($language); &launchCbox(); sub launchCbox { $scr = Term::ScreenColor->new; $scr->clrscr(); my ($mode) = @_; my $error = 0; my $cbox_x = $dog_x + 3; my $args; my %box_args = %{$args[3]}; $args .= "-d " if $box_args{"debug"}; $args .= "-l " if $box_args{"log"}; $args .= "-L ".$box_args{"language"} if $box_args{"language"}; if($mode ne "restart") { $scr->at($y_pos,3)->puts($x.". ".$txth->getText("5016")); } else { $y_pos = $dog_y_pos+3; $scr->at($dog_y_pos+3,3)->puts($cbox_x.". ".$txth->getText("5016"." "x($status_bar_pos-(length($txth->getText("5016"))+7)))); } if(!$xwindow) { `perl ./cbox.pl 2>>/var/log/cbox.log $args > /dev/tty9`; } else { `perl ./cbox.pl 2>>/var/log/cbox.log $args > /dev/pts/2`; } $error ? &printNOK : &printOK; } Kindest Regards, Raheel