Using system to call os/shell function : system « System Functions « Perl
- Perl
- System Functions
- system
Using system to call os/shell function
#!/usr/bin/perl -w
use strict;
my $error_status = system 'date';
print "system() returned: $error_status\n";
Related examples in the same category