diff --git a/lib/DDG/Goodie/PrivateNetwork.pm b/lib/DDG/Goodie/PrivateNetwork.pm index d75ead383..6fcff0914 100644 --- a/lib/DDG/Goodie/PrivateNetwork.pm +++ b/lib/DDG/Goodie/PrivateNetwork.pm @@ -17,9 +17,11 @@ topics 'sysadmin'; attribution twitter => 'crazedpsyc', cpan => 'CRZEDPSYC' ; +my $text = scalar share('private_network.txt')->slurp, +my $html = scalar share('private_network.html')->slurp; + handle sub { - scalar share('private_network.txt')->slurp, - html => scalar share('private_network.html')->slurp; + $text, html => $html; }; 1;