Andy Bach <afb...@gmail.com> hat am 17. August 2012 um 22:12 geschrieben:

> 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/
>
>

Looks like there is a lot more going on that I expected, but this shouldget me
started.

Thank you all so much for your help. Thanks Brandon for your tutorial on
subroutines - and I vow to be more concise with the subject in the future.

Kind regards
Dominik Danter

Reply via email to