Help for this page

Select Code to Download


  1. or download this
      # removing items from array:
      my @values = ( "stuff", "has'some'quotes", "foo" );
    ...
      # removing single quotes from a string:
      my $string = "has'some'quotes\nand a second'line'of stuff";
      $string =~ s/'//sg;