Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Programmatically Updating Code with PPI

by JadeNB (Chaplain)
on Jan 04, 2010 at 22:51 UTC ( #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
Node Status?
node history
Node Type: note [id://815659]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2021-05-11 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (114 votes). Check out past polls.

    Notices?