<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1503077579332_3282">How do we know wether this function 'found' or created whatever was being asked to 'find_or_create' ???</div><div id="yui_3_16_0_ym19_1_1503077579332_3312"><br></div><div id="yui_3_16_0_ym19_1_1503077579332_3313" dir="ltr">my $id = $schema<br id="yui_3_16_0_ym19_1_1503077579332_3328"> ->resultset('Node')<br id="yui_3_16_0_ym19_1_1503077579332_3329"> ->find_or_create<br id="yui_3_16_0_ym19_1_1503077579332_3330"> (<br id="yui_3_16_0_ym19_1_1503077579332_3331"> { nodeName => $node },<br id="yui_3_16_0_ym19_1_1503077579332_3332"> { key => 'nodeID' }<br id="yui_3_16_0_ym19_1_1503077579332_3333"> );<br id="yui_3_16_0_ym19_1_1503077579332_3334"></div><div dir="ltr">how do we know wether $id was already existing in table?<br></div></div></body></html>