http://qs1969.pair.com?node_id=92340


in reply to How to make bi-modal variables like $! ?

perhaps a tied scalar would be applicable here?