in reply to Data Structure Question

Create four modules? Or, create one kitchen-sink kind of module. In other words, solve it like you would have in C, but use Perl instead of C as the solution language.

Just because you've changed languages doesn't mean that everything you used to know is useless. In fact, 90% of your knowledge will be useful - you just have to figure out how to map it.

Being right, does not endow the right to be rude; politeness costs nothing.
Being unknowing, is not the same as being stupid.
Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

Replies are listed 'Best First'.
Re^2: Data Structure Question
by hok_si_la (Curate) on Jan 31, 2005 at 17:16 UTC
    Dragonchild,

    Thanks for your assistance. I had actually began creating a "kitchen sink" module for it but bailed out mid way through when I ran into confusion handling the module object within the invoking script. I will continue hacking away.

    hok_si_la
      You know that objects and modules are not synonymous. You create an object by using modules, but modules can and do exist outside of objects. Take a look at the source for List::Util for more information as to how you can make this work.

      Being right, does not endow the right to be rude; politeness costs nothing.
      Being unknowing, is not the same as being stupid.
      Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
      Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.