Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Problem with PPI HereDoc's

by clueless newbie (Hermit)
on Nov 21, 2011 at 12:13 UTC ( #939172=note: print w/ replies, xml ) Need Help??


in reply to Re: Problem with PPI HereDoc's
in thread Problem with PPI HereDoc's

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.


Comment on Re^2: Problem with PPI HereDoc's
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://939172]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2014-12-26 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (165 votes), past polls