in reply to Non-shell-invoking system/exec and qx//

sub backticks { open(my $pipe, '-|', @_) or return; local $/ = wantarray ? $/ : undef; <$pipe> }

Update: LOL! pc88mxer beat me to posting my own code!