This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Ghetto; | |
sub run($cmd) { | |
# create a random filename to store output in | |
my $tmp = ".tmp-{(1..100).pick}-ghetto"; | |
# use the real run command, :: means root namespace | |
::run("$cmd > '$tmp'"); | |
# open the file |
NewerOlder