http://www.perlmonks.org?node_id=92359


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

See SetDualVar, which includes XS code (C code) that sets the string/number value of a scalar without invalidating the other.

        - tye (but my friends call me "Tye")