> On 05 Sep 2015, at 16:06, dakkar (via RT) <perl6-bugs-follo...@perl.org> 
> wrote:
> 
> # New Ticket Created by  dakkar 
> # Please include the string:  [perl #125998]
> # in the subject line of all future correspondence about this issue. 
> # <URL: https://rt.perl.org/Ticket/Display.html?id=125998 >
> 
> 
> This::
> 
>   '/tmp'.IO eqv '/tmp'.IO
> 
> returns ``False``.
> 
> Is this correct? Should IO behave like value objects?
> 
> Possible problems:
> 
> - two IO referring to non-existent paths: should they compare like
>  their string representation? or always be different? or what?
> - ``/tmp`` and ``/tmp/``: should they compare as equal? should we
>  ``.resolve`` them before comparing?

If they should work as value objects, they should probably compare .abspath.



Liz

Reply via email to