[ic] Setting a catalog variable on a page

Dan B interchange-users@lists.akopia.com
Thu May 10 20:47:00 2001


At 04:33 PM 5/10/2001 -0400, you wrote:
>How can I set a catalog variable from a page and have it persist?
>
>I want to do something like this:
>
>page1.html:
>[perl]
>         $Variable->{sql_select_items} = 'SELECT * FROM items';
>         return;
>[/perl]
>
>page2.html:
>__sql_select_items__

Does this do anything for ya, or is there a special reason why it needs to 
be $Variable?

page1.html:
[perl]
         $Scratch->{sql_select_items} = 'SELECT * FROM items';
         return;
[/perl]

page2.html:
[scratch sql_select_items]

Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com