Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: Problem with PPI HereDoc's

by clueless newbie (Chaplain)
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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://939172]
NodeReaper settles into the armchair by the fire. You weren't using it were you?

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2017-06-26 16:55 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (583 votes). Check out past polls.