Thread [Linux] ext. Prog. starten und Daten einlesen
(11 answers)
Opened by Gast at 2006-05-11 13:08 Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 1 #!/usr/bin/perl 2 3 use strict; 4 use warnings; 5 6 my @output = qx(/sbin/ifconfig -a 2>&1); 7 foreach(@output) { 8 print $_; 9 } waren backticks nicht "veraltet"? :D\n\n <!--EDIT|vayu|1147423684--> "imitation is the sincerest form of flattery."
- Lee Anthony Iacocca http://img156.imageshack.us/img156/2056/perluserba... http://img410.imageshack.us/img410/2664/tcmduserba... |