Changeset 44960 in spip-zone for _acotes_


Ignore:
Timestamp:
Feb 25, 2011, 11:53:01 PM (8 years ago)
Author:
ben.spip@…
Message:

@edgardmoi sur irc genere tmp/edgard.txt ET tmp/faq.txt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _acotes_/irc/Edgard.pl

    r44934 r44960  
    55
    66my $URL="http://edgard.spip.org/spip.php?page=edgard&var_mode=recalcul";
     7my $URL2="http://edgard.spip.org/spip.php?page=mafaq&var_mode=recalcul";
    78my $nick = 'Edgard';
    89
     
    7273        my ($conn, $channel) = @_;
    7374        my %hash2;
     75
     76        #on recharge la page edgard.html qui va ecrire le fichier texte
     77        my $agent2 = LWP::UserAgent->new(env_proxy => 1,keep_alive => 1, timeout => 30);
     78        my $header2 = HTTP::Request->new(GET => $URL2);
     79        my $request2 = HTTP::Request->new('GET', $URL2, $header2);
     80        my $response2 = $agent2->request($request2);
     81
    7482
    7583        #on recharge la page edgard.html qui va ecrire le fichier texte
Note: See TracChangeset for help on using the changeset viewer.