On Tue, Jun 26, 2001 at 09:35:39PM -0400, [EMAIL PROTECTED] wrote:
> The idea of POE scripting has been floating around for some time now. 
> Here are some other ideas on it.

[...]

> Another way of looking at this is to have semaphores between each state. 
>         ()   get_sequence (A)
>         (A)  validate (B)
>         (B)  create_dir (C)
>         (B)  mail_buyer (C)
>         (B)  mail_merchant (C)
>         (3C) send_response ()

[...]

It also looks like a makefile:

all: send_response

get_sequence:
        &get_a_sequence

validate: get_sequence
        &validate_whatever

create_dir: validate
        &make_directory

mail_buyer: validate
        &send_email($buyer)

mail_merchant: validate
        &send_email($merchant)

send_response: create_dir mail_buyer mail_merchant
        &send_response

I guess ARG0 (the pseudo-heap) would be where all these steps
accumulate information like the sequence, buyer, and merchant?
Anyway, I've attached some code.

-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net

depends.perl.gz

Reply via email to