Help for this page

Select Code to Download


  1. or download this
    # Run executable @system command, reporting name as $name If there 
    # is an upload limit, we run through trickle(1) to limit bandwidth.
    sub _ext_cmd {
    ...
        # system { $system[0] } @system[1..$#system]; # Obviously nope.
        say "\$?=$?";
    }
    
  2. or download this
    # Excerpt of %o options hash:
    %o = (
        general => {
    ...
    # Example usage:
    _ext_cmd(display_name => qw!/bin/duplicity /path/to/src /path/to/dest!
    +);
    # ... but you could probably test it just fine with echo or /bin/cat.