Dies ist eine alte Version des Dokuments!
sub routine($$) {
my ($parameter1, $parameter2) = @_;
...
}
Bei system() bleibt das Perl-Programm während des Ausführung des Kommandos stehen, pausiert sozusagen.
# calling 'command' with arguments
system("command arg1 arg2 arg3");
# better way of calling the same command
system("command", "arg1", "arg2", "arg3");
Sleep lässt das Script für <Sekunden> warten:
sleep(10);