CONNEXION
  • RetourJeux
    • Sorties
    • Hit Parade
    • Les + populaires
    • Les + attendus
    • Soluces
    • Tous les Jeux
    • Gaming
  • RetourActu Gaming
    • News
    • Astuces
    • Tests
    • Previews
    • Toute l'actu gaming
  • RetourBons plans
    • Bons plans
    • Bons plans Smartphone
    • Bons plans Hardware
    • Bons plans Image et Son
    • Bons plans Amazon
    • Bons plans Cdiscount
    • Bons plans Decathlon
    • Bons plans Fnac
    • Tous les Bons plans
  • RetourJVTech
    • Actus High-Tech
    • Intelligence Artificielle
    • Smartphones
    • Mobilité urbaine
    • Hardware
    • Image et son
    • Tutoriels
    • Tests produits High-Tech
    • Guides d'achat High-Tech
    • JVTech
  • RetourCulture
    • Actus Culture
    • Culture
  • RetourVidéos
    • A la une
    • Gaming Live
    • Vidéos Tests
    • Vidéos Previews
    • Gameplay
    • Trailers
    • Chroniques
    • Replay Web TV
    • Toutes les vidéos
  • RetourForums
    • Hardware PC
    • PS5
    • Switch 2
    • Xbox Series
    • Switch
    • Pokemon pocket
    • FC 25 Ultimate Team
    • League of Legends
    • Tous les Forums
  • PC
  • PS5
  • Xbox Series
  • Switch 2
  • PS4
  • One
  • Switch
  • iOS
  • Android
  • MMO
  • RPG
  • FPS
En ce moment Genshin Impact Valhalla Breath of the wild Animal Crossing GTA 5 Red dead 2
Liste des sujets

Le Perl ?

News jeu

Expeditions: Samurai veut révolutionner le RPG tactique avec une aventure entièrement jouable en coop

Voir
qc_food
qc_food
Niveau 10
08 février 2003 à 15:25:02

Voila je vien de l´installer ( pour un logiciel) et voila il faut que je le program ( mettre la bonne base de donnez ! ) quelqun peut m´aider voici le script :

    1. ###############################################
    2. #########
  1. XtraStats Commish Util for FHL
  2. v0.99.2.0

#

  1. ( c) 1999, Wynn Fenwick, All rights reserved.
  2. ( c) 2001, Frederic Hurtubise, All rights reserved.

#

  1. Email: frederic@hurtubise.net
  2. Website: TBD

#

  1. Rights of licence:
  2. - Re-distribution of this software is prohibited.
  3. - Requestors of the software should be forwarded to me directly.
  4. - Modification of this software without notification to Frederic Hurtubise
  5. ( frederic@hurtubise) is prohibited.
  6. - Use of this software without credit to author on program output
  7. is prohibited.

#

  1. This doesn´t mean you won´t be able to modify the program. I just want
  2. to be notified. Maybe your ideas are good enough to be included in the
  3. next version!
    1. ###############################################
    2. ##########

package XtraStats::LeechFiles;

use LWP::UserAgent;
use HTTP::Request;
use strict;

$|++;

sub Go
{
my $ua = new LWP::UserAgent;

my $url_part =
"$XtraStats::Config::LeagueURL$XtraStats::Config::
LeaguePrefix";

my $req = new HTTP::Request(´GET´, "${url_part}Schedule.html") || die ( "$! ${url_part}Schedule.html");
my $res = $ua->request($req);
my $content = $res->content();

open ( FILE,
">$XtraStats::Config::InDirectory${XtraStats::Conf
ig::LeaguePrefix}Schedule.html") || die ( "$!
${XtraStats::Config::LeaguePrefix}Schedule.html");

print FILE $content;
close FILE;

my $lastday;
while ( $content =~ s/<A
HREF=$XtraStats::Config::LeaguePrefix(\d+)\.html>/
/g)
{
$lastday = $1;
}

print "\n-=> Leeching boxscores\n";

for ( my $i = 1; $i <= $lastday; $i++)
{
if ( !-e
"$XtraStats::Config::InDirectory$XtraStats::Config
::LeaguePrefix$i.html")
{
print "." if $XtraStats::Config::Verbose;

my $req = new HTTP::Request(´GET´, "${url_part}$i.html") || die ( "$! ${url_part}$i.html");;
my $res = $ua->request($req);
my $content = $res->content();
open ( FILE,
">$XtraStats::Config::InDirectory$XtraStats::Confi
g::LeaguePrefix$i.html") || die ( "$! $XtraStats::Config::LeaguePrefix$i.html");
print FILE $content;
close FILE;
}
}

print "\n<=- Leeching boxscores\n";
print "\n-=> Leeching player files\n";

foreach my $file ( qw(TeamScoring PlayerVitals Rosters Standings))
{
print "." if $XtraStats::Config::Verbose;

my $req = new HTTP::Request(´GET´, "${url_part}$file.html");
my $res = $ua->request($req);
my $content = $res->content();
open ( FILE,
">$XtraStats::Config::InDirectory$XtraStats::Confi
g::LeaguePrefix$file.html") || die ( "$! $XtraStats::Config::LeaguePrefix$file.html");
print FILE $content;
close FILE;
}

print "\n<=- Leeching player files\n";
}

666;

voila ! Pouvez m´aider car la je ne comprend vraiment rien !

Sous forums
  • Aide à l'achat Mac
  • Création de Jeux
  • Linux
  • Création de sites web
  • Programmation
  • Internet
  • Steam Deck
  • Macintosh
  • Hardware