Help for this page

Select Code to Download


  1. or download this
    sub text_to_shell_lit(_) {
       return $_[0] if $_[0] =~ /^[a-zA-Z0-9_\-]+\z/;
    ...
       );
    
    system($ssh_cmd);
    
  2. or download this
    sub text_to_shell_lit(_) {
       return $_[0] if $_[0] =~ /^[a-zA-Z0-9_\-]+\z/;
    ...
    }
    
    system(q{ssh -o StrictHostKeyChecking=no root@localhost }.text_to_shel
    +l_lit(q{/usr/bin/perl -i -pe}.text_to_shell_lit("s/^\Q$pat\E\$/\Q$rep
    +l\E/").q{ hashfile}));
    
  3. or download this
    my $pat  = quotemeta($hash2);
    my $repl = quotemeta($hash1);
    ...
          $remote_cmd,
       ),
    );
    
  4. or download this
    s/.../.../ee
    
  5. or download this
    s/.../eval "..."/e