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

Re: Programmatically Updating Code with PPI

by JadeNB (Chaplain)
on Jan 04, 2010 at 22:51 UTC ( [id://815659]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $lexicon = $doc->find(sub { $_[1]->content eq '%Lexicon' });
    $lexicon = $lexicon->[0]; # returns an array ref, but in my case, ther
    +e's only ever one.
    
  2. or download this
    my $lexicon = $doc->find_first( ... )
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-24 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found