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

Re^3: how to add a PPI:Statement to a document?

by Anonymous Monk
on Jan 02, 2008 at 07:28 UTC ( #659922=note: print w/ replies, xml ) Need Help??


in reply to Re^2: how to add a PPI:Statement to a document?
in thread how to add a PPI:Statement to a document?

In fact, you also should just throw away the other document immediately.

$lastVar->insert_after( PPI::Document->new('print "Hello World!\n")->f +ind_first('Statement') );


Comment on Re^3: how to add a PPI:Statement to a document?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2015-04-19 10:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (358 votes), past polls