in reply to Re^3: Print something when key does not exist
in thread Print something when key does not exist

... I often use a fat comma to separate the "how-to-operate" and the "what-to-operate-on" arguments.

My favorite personal "off-label" usage of  => is in an OO-code statement like
    return bless $objectref => $class;
for what I imagine to be its self-documenting qualities: "bless object reference into class."

Replies are listed 'Best First'.
Re^5: Print something when key does not exist
by kcott (Archbishop) on Apr 06, 2014 at 23:09 UTC

    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