P
Peter Valdemar Morch
I can see from perldoc perlvar about $!:
"If used numerically, yields ..."
and
"If used as a string, yields ..."
Is there any way I can do this for my own variables, say $a - to let
it have one value if used numerically, and another if used as a
string? It tastes a little like wantarray for subs, but... Is this
very, very special for $!?
Peter
"If used numerically, yields ..."
and
"If used as a string, yields ..."
Is there any way I can do this for my own variables, say $a - to let
it have one value if used numerically, and another if used as a
string? It tastes a little like wantarray for subs, but... Is this
very, very special for $!?
Peter