/[Frey]/trunk/lib/Frey/Introspect.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey/Introspect.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 215 by dpavlin, Fri Oct 31 19:59:16 2008 UTC revision 227 by dpavlin, Sat Nov 1 01:38:13 2008 UTC
# Line 215  warn $attr->dump(3); Line 215  warn $attr->dump(3);
215    
216                  my $pod = Frey::Pod->new( class => $package )->markup;                  my $pod = Frey::Pod->new( class => $package )->markup;
217    
218                    use Frey::Run;
219                    my $execute = join("\n", map { qq|<a href="/$_/$package">$_</a>| } grep { $package->can($_) } Frey::Run->execute );
220                    $execute = " execute: $execute" if $execute;
221    
222                  my $html = $self->page(                  my $html = $self->page(
223                          title => "Introspect $package",                          title => "Introspect $package",
224                          body => qq|<h1>$package</h1>|                          body => qq|<h1>$package</h1>|
225                                  . qq|$superclasses\n$roles\n|                                  . qq|$superclasses\n$roles\n$execute\n|
226                                  . ( $pod ? qq|<a href="#___top" title="Skip to POD" style="font-size: 80%; color: #aaa;">&darr;pod&darr</a>| : '' )                                  . ( $pod ? qq|<a href="#___top" title="Skip to POD" style="font-size: 80%; color: #aaa;">&darr;pod&darr</a>| : '' )
227                                  . qq|$table\n$pod|,                                  . qq|$table\n$pod|
228    
229                  );                  );
230    

Legend:
Removed from v.215  
changed lines
  Added in v.227

  ViewVC Help
Powered by ViewVC 1.1.26