Hi, Khen1950fx,
Thank you for replying.
I think
push @NewHereDoc_a,PPI::Document->new(\( $HereDoc_o->content() ."\n" ."/* $Comment_S\n" # Comment .join('',$HereDoc_o->heredoc()) # ... origina +l commented out ."*/\n" # .$NewText_s # ... replace +ment ."\n" .$HereDoc_o->terminator() ));
should create a new PPI::Document object for each of the HereDocs that I want to update.
In reply to Re^2: Problem with PPI HereDoc's
by clueless newbie
in thread Problem with PPI HereDoc's
by clueless newbie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |