Skip to content
This repository was archived by the owner on Sep 21, 2020. It is now read-only.

Latest commit

 

History

History
30 lines (18 loc) · 873 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 873 Bytes

NAME

String::isComparable::WithNum - It's a test implement to ignore the difference between <=> and cmp

SYNOPSIS

use String::isComparable::WithNum;
my $str = String::isComparable::WithNum->new( value => 'strings' );

say q|Succeeded in comparing with strings by 'eq'| if $str eq 'strings';            
say q|Succeeded in comparing with Int by 'eq'| if $str eq 100;            
say q|Succeeded in comparing with Int by '=='|     if $str == 100;
say q|Succeeded in comparing with strings by '=='| if $str == 'strings';

DESCRIPTION

I have solved The Issue#1

LICENSE

Copyright (C) worthmine.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

worthmine [email protected]