Help for this page

Select Code to Download


  1. or download this
    sub get_by_id {
        my ($self, $feed_id) = @_;
    ...
        
        return $xml_feed;    
    }
    
  2. or download this
    [% FOREACH entry IN feed.entries %]
        [% USE Dumper %]
        [% Dumper.dump(entry.content) %]
    [% END %]
    
  3. or download this
    $VAR1 = bless( { 'body' => 'This is a test post', 'base' => undef, 'ty
    +pe' => 'text/html' }, 'XML::Feed::Content' );