Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 7th, 2012  |  syntax: Perl  |  size: 0.28 KB  |  hits: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. sub get_formatted_data_for_analysis
  2. {
  3.     my ($self, $type, $key) = @_;
  4.  
  5.     my $cached_path         = $self->get_cached_path( $type, $key );
  6.  
  7.     $self->fetch_by_url( $type, $key ) unless -e $cached_path;
  8.    
  9.     return $self->formatter->format_file( $cached_path );    
  10. }