# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #125440] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=125440 >
<mudguts> Last question (I hope) - Is there something like indirect object syntax that allows one to lead with a method name? <RabidGravy> in summary, no <masak> waitwait, there *is* such a syntax. <mudguts> still here <masak> m: say abs -42: <camelia> rakudo-moar df0c3a: OUTPUT«===SORRY!=== Error while compiling /tmp/S8JDkgecAdConfused [...] <masak> though maybe I don't *know* the syntax... :) * masak checks S12 <masak> m: class C { method close { say "OH HAI" } }; my $handle = C.new; close $handle:; <camelia> rakudo-moar df0c3a: OUTPUT«OH HAI» <masak> there you go. <masak> I'm not sure why the abs example above didn't work. <masak> S12:298, fwiw. <TimToady> m: say abs -42: ; <camelia> rakudo-moar f1fa64: OUTPUT«42» <TimToady> masak: it's just an EOF anomaly <moritz> m: say abs -42:; <camelia> rakudo-moar f1fa64: OUTPUT«42» <moritz> m: say abs -42: <camelia> rakudo-moar f1fa64: OUTPUT«===SORRY!=== Error while compiling /tmp/V2UzSPiN8kConfused [...] * masak submits rakudobug