in reply to Array equality woes

You are trying to roll your own format and parser for representation of the circuit network. You can take advantage of the plethora of the Graph modules available in CPAN. They might actually help you in finding the connectivity of nodes and other stuff. This is of course if you are building a production worthy system out of this. If this is only for academic learning purposes you can stay with your own format and parser.

Hope this helps.

-T

use perl; use strict;

Replies are listed 'Best First'.
Re: Re: Array equality woes
by Anonymous Monk on Oct 12, 2003 at 16:17 UTC
    It's just a small little thing I need to write for a class (academic learning purposes, you could say). But thanks for the help.
      Pity you don't need to take it further - a general-purpose circuit simulator in perl would be really nifty :-)