programming-examples/perl/SystemFunction/Using system to call os-shell function.pl

7 lines
117 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
#!/usr/bin/perl -w
use strict;
my $error_status = system 'date';
print "system() returned: $error_status\n";