#!/usr/bin/perl no strict; for (;;) { wakeup; open MIND, "<NewIdeas"; @knowledge = <MIND>; # close MIND; Consider (@knowledge); socialize, eat, sleep $well; } sub Consider { open MIND, ">>NewIdeas"; foreach (@_) { study; seek MIND, $wisdom, $truth; analyze and experiment, wait for %enlightenment; store; } print MIND; # close MIND; }

Replies are listed 'Best First'.
Re: Hey, it's a plan!
by bladx (Chaplain) on Aug 24, 2001 at 08:55 UTC
    Hey jlongino!

    Nice use of Perl to convey such ideas as you have in this poetry post :-). Keep up the great work!

    I was kind of speculating, however, what if you decided not to use the
    # close MIND;
    line, and just kept the MIND filehandle continuously open? :-) Some people seem to learn during sleep as well as being awake.

    Andy Summers
      Careful... if you your mind is open your brains might fall out... :)
        Good point, Stamp_Guy ... I have heard that somewhere before ...

        Andy Summers