| 1 | #!perl |
| 2 | |
| 3 | use Test::Morescip-perl cpan autobox-Core 1.33 Test/More/ 'no_plan'; |
| 4 | use autobox::Corescip-perl cpan autobox-Core 1.33 autobox/Core/; |
| 5 | |
| 6 | isscip-perl cpan autobox-Core 1.33 main/is().( "this is a test"->title_casescip-perl cpan autobox-Core 1.33 main/title_case()., 'This Is A Test'); |
| 7 | isscip-perl cpan autobox-Core 1.33 main/is().( "this is a test"->lcscip-perl cpan autobox-Core 1.33 main/lc().->title_casescip-perl cpan autobox-Core 1.33 main/title_case()., 'This Is A Test'); |
| 8 | |
| 9 | isscip-perl cpan autobox-Core 1.33 main/is().( "thIS is a teST"->title_casescip-perl cpan autobox-Core 1.33 main/title_case()., 'ThIS Is A TeST'); |
| 10 | isscip-perl cpan autobox-Core 1.33 main/is().( "thIS is a teST"->lcscip-perl cpan autobox-Core 1.33 main/lc().->title_casescip-perl cpan autobox-Core 1.33 main/title_case()., 'This Is A Test'); |
| 11 | |
| 12 | isscip-perl cpan autobox-Core 1.33 main/is().( ' testme'->ltrimscip-perl cpan autobox-Core 1.33 main/ltrim()., 'testme' ); |
| 13 | isscip-perl cpan autobox-Core 1.33 main/is().( ' testme'->rtrimscip-perl cpan autobox-Core 1.33 main/rtrim()., ' testme' ); |
| 14 | isscip-perl cpan autobox-Core 1.33 main/is().( ' testme'->trimscip-perl cpan autobox-Core 1.33 main/trim()., 'testme' ); |
| 15 | |
| 16 | isscip-perl cpan autobox-Core 1.33 main/is().( 'testme '->ltrimscip-perl cpan autobox-Core 1.33 main/ltrim()., 'testme ' ); |
| 17 | isscip-perl cpan autobox-Core 1.33 main/is().( 'testme '->rtrimscip-perl cpan autobox-Core 1.33 main/rtrim()., 'testme' ); |
| 18 | isscip-perl cpan autobox-Core 1.33 main/is().( 'testme '->trimscip-perl cpan autobox-Core 1.33 main/trim()., 'testme' ); |
| 19 | |
| 20 | isscip-perl cpan autobox-Core 1.33 main/is().( ' testme '->ltrimscip-perl cpan autobox-Core 1.33 main/ltrim()., 'testme ' ); |
| 21 | isscip-perl cpan autobox-Core 1.33 main/is().( ' testme '->rtrimscip-perl cpan autobox-Core 1.33 main/rtrim()., ' testme' ); |
| 22 | isscip-perl cpan autobox-Core 1.33 main/is().( ' testme '->trimscip-perl cpan autobox-Core 1.33 main/trim()., 'testme' ); |
| 23 | |
| 24 | isscip-perl cpan autobox-Core 1.33 main/is().( '--> testme <--'->ltrimscip-perl cpan autobox-Core 1.33 main/ltrim().("-><"), ' testme <--' ); |
| 25 | isscip-perl cpan autobox-Core 1.33 main/is().( '--> testme <--'->rtrimscip-perl cpan autobox-Core 1.33 main/rtrim().("-><"), '--> testme ' ); |
| 26 | isscip-perl cpan autobox-Core 1.33 main/is().( '--> testme <--'->trimscip-perl cpan autobox-Core 1.33 main/trim().("-><"), ' testme ' ); |
| 27 | |
| 28 | isscip-perl cpan autobox-Core 1.33 main/is().( ' --> testme <--'->trimscip-perl cpan autobox-Core 1.33 main/trim().("-><"), ' --> testme ' ); |