in reply to Re^4: Print something when key does not exist
in thread Print something when key does not exist
I'd forgotten about that. Years ago I used to hand-roll OO classes almost on a daily basis and used the fat comma in bless $objectref => $class for exactly the same reason.
There's a few others that have that similar "self-documenting qualities"; for instance, to send a signal to a process:
kill SIGNAL => $pid
-- Ken
|
|---|