in reply to Inputing info into Nested Arrays

If you have control over the source input format, you could use XML and then XML::Parser or one of its derivations to read in the data. Or Parse::RecDescent to write your own input format, one that can be quite flexible.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
RE: Re: Inputing info into Nested Arrays
by She-wolf (Sexton) on Aug 21, 2000 at 20:18 UTC
    I want to try to do this without having to install any modules additional modules(right now I have CGI.pm and Sprite.pm) Is there any way to do this without getting a module?

    She-wolf
    "Wha? I don't get it."

      You can almost certainly do it without a module. If you were to give us a brief sample of the input data and a description of the data structure that you wanted then I'm sure that someone could help you out.

      Alternatively, by reading perldoc perllol and perldoc perldsc you may well be able to work it our for yourself.

      --
      <http://www.dave.org.uk>

      European Perl Conference - Sept 22/24 2000, ICA, London
      <http://www.yapc.org/Europe/>