Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
All variables are already defined as this is just an example. What i want a little help with is that should i return objects from these perl scripts or do the processing for instance and get all A records and return strings or arrays ? What would be a good approach ?sub getIP{ my $result = $resolver->query($_[0]); return $result; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Code Design Help
by thomas895 (Deacon) on May 24, 2012 at 03:57 UTC | |
|
Re: Code Design Help
by locked_user sundialsvc4 (Abbot) on May 24, 2012 at 14:05 UTC | |
|
Re: Code Design Help
by jack123 (Acolyte) on May 24, 2012 at 06:08 UTC |