Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    $text =~ tr/\N{RIGHT SINGLE QUOTATION MARK}/\N{APOSTROPHE}/;
    
    is( $text, q(This isn't hard), 'quote mark test' );
    
  2. or download this
    1..1
    ok 1 - quote mark test