![]() |
|< 1 2 >| | ![]() |
15 Einträge, 2 Seiten |
QuoteCode: (dl )my $tmp_2 = system(qx($^X $tmp_1));
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# *****************************************************************************
# ** Sub Run_Perl_Prog ********************************************************
# *****************************************************************************
sub Run_Perl_Prog {
my $Get_Path = $laden_entry->get();
my $Get_File_Name = $Auswahl_Liste->get($Auswahl_Liste->curselection());
my $slash = "/";
print "Ausgewaehlter Pfad: $Get_Path\n";
print "Der Slash : $slash\n";
print "Ausgewaehlte Datei: $Get_File_Name\n";
print "$Get_Path$slash$Get_File_Name";
if(!$Get_Path || $Get_Path eq ''){
$mw->messageBox(-message=>" Zuerst ein Programm auswählen.",
-type=>"OK"),
return 1;
}
my $tmp_1 = "$Get_Path$slash$Get_File_Name";
my $tmp_2 = system(qx($^X $tmp_1));
}
1
2
3
4
5
6
#!/usr/bin/perl
print "Zeile 1: Ich bin das Programm a.pl.\n";
print "Zeile 2: Ich bin das Programm a.pl.\n";
print "Zeile 3: Ich bin das Programm a.pl.\n";
print "Zeile 4: Ich bin das Programm a.pl.\n";
print "Zeile 5: Ich bin das Programm a.pl.\n";
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# *****************************************************************************
# ** Sub Run_Perl_Prog ********************************************************
# *****************************************************************************
sub Run_Perl_Prog {
my $Get_Path = $laden_entry->get();
my $Get_File_Name = $Auswahl_Liste->get($Auswahl_Liste->curselection());
my $slash = "/";
print "Ausgewaehlter Pfad: $Get_Path\n";
print "Der Slash : $slash\n";
print "Ausgewaehlte Datei: $Get_File_Name\n";
print "Kompletter String : $Get_Path$slash$Get_File_Name\n";
if(!$Get_Path || $Get_Path eq ''){
$mw->messageBox(-message=> " Zuerst ein Programm auswählen.",
-type => "OK"),
return 1;
}
my $tmp_1 = "$Get_Path$slash$Get_File_Name";
my $tmp_2 = qx($^X $tmp_1);
}
![]() |
|< 1 2 >| | ![]() |
15 Einträge, 2 Seiten |