Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Problem with PPI HereDoc's

by clueless newbie (Friar)
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 scrutinizing the Monastery: (11)
As of 2014-08-29 09:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (277 votes), past polls