Help for this page

Select Code to Download


  1. or download this
    my $thing = 'THING';
    my $regexp = "some$thing";  # now $regexp is 'someTHING'
    
  2. or download this
    #!/usr/bin/perl -W
    use strict;
    
    ...
    test ( quotemeta 'some$thing2' );
    test ( quotemeta "some$thing2" );