![]() |
|
There's more than one way to do things | |
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
Is it possible to create variables in perl that have the contextual behavior of $!?
In a string context it yields the system error string. In a numeric context it yields the current value of the last syscall error.
It would be very could to be able to do this with my own variables.
thanks,
--eric
In reply to $! context behavior by eak
|
|