Help for this page

Select Code to Download


  1. or download this
    sub shell_escape {
        my ( $string ) = @_;
    ...
    
        return $string;
    }
    
  2. or download this
    my $suspect = shift;
    my $quoted_suspect = shell_escape( $suspect );
    system( qq{echo "$quoted_suspect"} );