programming-examples/perl/SystemFunction/Using system to call os-shell function.pl
2019-11-15 12:59:38 +01:00

7 lines
117 B
Perl

#!/usr/bin/perl -w
use strict;
my $error_status = system 'date';
print "system() returned: $error_status\n";