Advertisement
hakonhagland

run-perl-script-from-another

Oct 7th, 2021
1,396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.15 KB | None | 0 0
  1. use feature qw(say);
  2. use strict;
  3. use warnings;
  4.  
  5. my @files = `perl p1.pl`;
  6. chomp @files;
  7.  
  8. for my $file (@files) {
  9.     say "file: '$file'";
  10. }
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement