| 1 | use v5.10; | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | |||
| 5 | package App::PandoraPeriscope; | ||
| 6 | # ABSTRACT: A Periscope for Pandora | ||
| 7 | |||
| 8 | use File::Spec; | ||
| 9 | use File::Basename; | ||
| 10 | |||
| 11 | use Periscope; | ||
| 12 | |||
| 13 | my $URL = 'http://pandora.com'; | ||
| 14 | my $TITLE = 'Pandora Periscope'; | ||
| 15 | my $ICON = File::Spec->join(dirname(__FILE__), '..', '..', 'extra', 'Pandora.png'); | ||
| 16 | |||
| 17 | sub exec { | ||
| 18 | Periscope->new(address => $URL, title => $TITLE, icon => $ICON, width => 800, height => 600)->show; | ||
| 19 | } | ||
| 20 | |||
| 21 | 1; |