in reply to Returning string and numerical data types from subroutines

There's dualvar in Scalar::Util which lets you make your own values that behave like $! which might be what you want.

Update: Duurr but you know that. Teach me to post while distracted.

The cake is a lie.
The cake is a lie.
The cake is a lie.

Replies are listed 'Best First'.
Re^2: Returning string and numerical data types from subroutines
by Anonymous Monk on May 15, 2009 at 16:35 UTC

    It seems the OP is already aware of dualvar.