I'm storing a variety of things in a context. I want to be able to
select a specific item in the event store and delete only that item.
Right now, I'm accomplishing this by:
assign %remove_item sample_item_I_want_to_remove; \
empty SAMPLE_CONTEXT %list; \
eval %new_list ( \
my @list = split(/\n/,"%list"); \
return grep { $_ ne %remove_item } @list; \
);\
add SAMPLE_CONTEXT %new_list
Is there a better way than removing the entire list, edit the list, and
then writing it all back into the context event store?
Thanks,
Bond
------------------------------------------------------------------------------
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users