Mega Code Archive

 
Categories / Perl / System Functions
 

Call external command

#!/usr/bin/perl use strict; use warnings; my $dir = "/home"; my $files = `dir $dir`; print $files;