On Fri, Aug 17, 2012 at 2:49 PM, Andy Bach <afb...@gmail.com> 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, afb...@gmail.com 608 658-1890 cell 608 261-5738 wk -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/