Help for this page

Select Code to Download


  1. or download this
      my $newStatement = PPI::Token::Comment->new();
      $newStatement->set_content(qq{\n# $newVar = ${quote}$newValue${quote
    +};\n});
      $lastVar->insert_after($newStatement);
    
  2. or download this
            my $newStatement = PPI::Statement->new();
            $newStatement->set_content(qq{\n1; #testing\n});