Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2015-07-29 01:09 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (260 votes), past polls