Skip to content
Extraits de code Groupes Projets
Valider 05b48d12 rédigé par Alexandre Morignot's avatar Alexandre Morignot
Parcourir les fichiers

Better exporting from modules

parent 6ebd78fd
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -13,10 +13,10 @@ use FindBin;
use lib "$FindBin::Bin/lib/";
use Logging;
use sites::youtube;
use sites::soundcloud;
use sites::mixcloud;
use sites::zippy;
use sites::youtube qw(youtube);
use sites::soundcloud qw(soundcloud);
use sites::mixcloud qw(mixcloud);
use sites::zippy qw(zippy);
# nom du fichier
......
......@@ -6,7 +6,7 @@ use HTML::Entities;
require Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(mixcloud);
our @EXPORT_OK = qw(mixcloud);
my $inTitle = 0;
......
......@@ -5,7 +5,7 @@ use JSON;
require Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(soundcloud);
our @EXPORT_OK = qw(soundcloud);
my $root = 'http://api.soundcloud.com';
......
......@@ -6,7 +6,7 @@ use HTML::Entities;
require Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(youtube);
our @EXPORT_OK = qw(youtube);
my $inTitle = 0;
......
......@@ -6,7 +6,7 @@ use HTML::Entities;
require Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(zippy);
our @EXPORT_OK = qw(zippy);
my $inTitle = 0;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter