in reply to Conditional Mother Goose

God, TheDamian be kind. I just saw this, and wanted to port it to Quantum::Superpositions.


We are using here a powerful strategy of synthesis: wishful thinking. -- The Wizard Book

Replies are listed 'Best First'.
Re: Re: Conditional Mother Goose
by YuckFoo (Abbot) on Apr 17, 2002 at 16:03 UTC
    Thanks for the tip theorbtwo, definately a job for Quantum::Superpositions, a module I was unfamiliar with.

    Now I'm not sure about the Old Bird's logic though. I suppose I'll take her at her word that all trees should be bread _and_ cheese, disallowing bread-only and cheese-only trees.

    CheeseFoo

    #!/usr/bin/perl use Quantum::Superpositions; if (all(@the_world) == $apple_pie and all(@the_seas) == $ink) { if (all(@the_trees) == all($bread, $cheese)) { $drink = <>; } }