Help for this page

Select Code to Download


  1. or download this
    sub to_literal { "'$_[0]'" }
    
    ...
        }
    }
    my @a = eval $x;
    
  2. or download this
    sub to_literal { "'\Q$_[0]\E'" }     <---
    
    ...
        }
    }
    my @a = eval $x;
    
  3. or download this
    my @a;
    for (...) {
        push @a, $_;
    }