perl5i: Add methods to work with overloading
The Perl Foundation
Status: Reopened
Time to complete: 48 hrs
Mentors: Paul Johnson, Florian Ragwitz, Michael G Schwern
See perl5i: Add methods to work with overloading
overload.pm has three functions which would be handy in Object.
my $is_overloaded = $object->is_overloaded(); Returns true if the object is overloaded, false otherwise. Just overloaded::Overloaded().
my $code = $object->is_overloaded($op); Returns the method which implements $op, if its overloaded. False otherwise. overload::Method()
And a method to return the string value of the object in the absence of overloading. overload::StrVal(). Don't know what the method should be.
Uploaded Work
No work has been uploaded yet.
I would like to work on this task.
This task has been assigned to Piotr. You have 48 hours to complete this task, good luck!
This task was originally marked "easy" assuming some knowledge of overloaded objects in Perl, just to let ya know.
I've updated the issue on Github with more detailed instructions. https://github.com/schwern/perl5i/issues/72 Please follow the preferred workflow so the whole probject can participate in what you're doing and review interactively. https://github.com/schwern/perl5i/wiki/Preferred-Workflow If you can, talk with us on IRC. We're on irc.perl.org channel #perl5i.
Melange has detected that the initial deadline has passed and it has set the task status to ActionNeeded. The student has 24 hours to submit the work before the task is reopened and sent back to the pool for other students to claim.
The claim on this task has been removed, someone else can claim it now.
I would like to work on this task.
This task has been assigned to Prashan Dharmasena. You have 48 hours to complete this task, good luck!
Melange has detected that the initial deadline has passed and it has set the task status to ActionNeeded. The student has 24 hours to submit the work before the task is reopened and sent back to the pool for other students to claim.
Melange has detected that the final deadline has passed and it has reopened the task.