in reply to Re^2: Accessing Large Else-If Condition in a Separate Files
in thread Accessing Large Else-If Condition in a Separate Files

Hi,
That's interesting. Can you give example how this can be done with one of those modules?

---
neversaint and everlastingly indebted.......
  • Comment on Re^3: Accessing Large Else-If Condition in a Separate Files

Replies are listed 'Best First'.
Re^4: Accessing Large Else-If Condition in a Separate Files
by Util (Priest) on Jun 05, 2007 at 13:28 UTC

    Zaxo's update clearly illustrates moritz's point. Because it is *definitely* the way I would approach the problem, and I would hate for you to overlook this solution, I will provide a more explicit example.

    In the code below, you can switch from Data::Dumper to YAML by changing which lines are commented out.

    Program1, which generates and stores the decision hash:

    Program2, which loads and uses the decision hash: