Guest User

Untitled

a guest
May 7th, 2012
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.28 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment