[perl #126462] Bug returning objects directly from called methods using some form of named arguments

2015-10-27 Thread via RT
# New Ticket Created by mt1957 # Please include the string: [perl #126462] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126462 > Two samples of code for which the problem is closely related The first problem;

Bug returning objects directly from called methods using some form of named arguments

2015-10-26 Thread mt1957
Two samples of code for which the problem is closely related The first problem; return MongoDB::Cursor.new( collection => self, OP_REPLY=> $OP_REPLY, criteria=> %@criteria ); Generates the error; 'Default constructor for