On Fri, Aug 17, 2012 at 2:49 PM, Andy Bach <[email protected]> wrote:
> So try starting the test script w/.:
> use Rex;
> use Rex::Commands::Iptables;

Nope - sort of the other way round, 'rex' is an executable program
that, like perl, you use to run your script. It normally processes a
file in the current dir call Rexfile or use it on the shebang:
#!/usr/local/bin/rex

use Rex qw(task);
use Rex::Commands::Iptables;

task "firewall", sub {
   iptables_clear;


weird.



-- 

a

Andy Bach,
[email protected]
608 658-1890 cell
608 261-5738 wk

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to