Skip to content

Instantly share code, notes, and snippets.

@AndyA
Created April 16, 2014 10:31
Show Gist options
  • Select an option

  • Save AndyA/10849531 to your computer and use it in GitHub Desktop.

Select an option

Save AndyA/10849531 to your computer and use it in GitHub Desktop.
#!/usr/bin/env perl
use autodie;
use strict;
use warnings;
open my $ch, '-|', 'ls', -l => '/tmp';
print while (<$ch>);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment