Help for this page

Select Code to Download


  1. or download this
      for (glob "*.txt") {
          my $lsoutput = qx(ls -l $_);
    ...
              print "File matches current username.\n";
          }
      }
    
  2. or download this
      for (glob "*.txt") {
          open my $lsfh, "-|", 'ls', '-l', $_
    ...
              }
          }
      }