in reply to dualvar for a reference-string combination

Path::Class is on module which does this. Check out its use of overload at the beginning of Entity.pm, where it designated its stringify method as the handler for stringification.