On 11/25/07, Tobias L <[EMAIL PROTECTED]> wrote:
> But I don't how to do some pseudo code could be like
>
>
> open_internet_connection
> {
> open_some_site
> search(*.pgn)
> download(*.pgn)
> }
Sounds like you want WWW::Mechanize.
http://search.cpan.org/dist/WWW-Mechanize/
> or better yet w
Hi.
I have got a little bit more serious idea than my last one, as an
enthusiatisk chess player I would like if I could download a lot of .pgn
files from the web.
But I don't how to do some pseudo code could be like
open_internet_connection
{
open_some_site
search(*.pgn)
download(*.pgn)
}
but
m: "Wagner, David --- Senior Programmer Analyst --- WGO"
> <[EMAIL PROTECTED]>
> To: "FamiLink Admin" <[EMAIL PROTECTED]>
> Cc:
> Sent: Thursday, September 29, 2005 4:58 PM
> Subject: RE: a little help...
>
>
> FamiLink Admin wrote:
>>
-- Original Message -
From: "Wagner, David --- Senior Programmer Analyst --- WGO"
<[EMAIL PROTECTED]>
To: "FamiLink Admin" <[EMAIL PROTECTED]>
Cc:
Sent: Thursday, September 29, 2005 4:58 PM
Subject: RE: a little help...
FamiLink Admin wrote:
That works
{
> next if ( $MyIpAddrInfo->{MyIpAddr} <= $blocklimit ); # if less than
> or equal get next key
>
> the best way to see what you have is using Data::Dumper.
> Add a use Data::Dumper at top of script.
> I then would add at a high level:
> $Data::Dumper::Sortkeys = 1; # sor
if
less than or equal get next key
print $output1 Dumper(\%{$MyIpAddrInfo});
print $output2 "$ip/32\n";
$matched = $matches;
$matches = 0;
$ip2 = $ip;
}
}
close $output;
close $ou
drInfo->{ip}
is the same as
${$MyIpAddrInfo}{ip}
is the same as
$MIAI{ip}
-Original Message-
From: FamiLink Admin [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 01, 2005 3:04 PM
To: Wagner, David --- Senior Programmer Analyst --- WGO
Cc: beginners@perl.org
Subject: Re: a little help...
er, David --- Senior Programmer Analyst --- WGO"
> <[EMAIL PROTECTED]>
> To: "FamiLink Admin" <[EMAIL PROTECTED]>
> Cc:
> Sent: Wednesday, September 28, 2005 5:53 PM
> Subject: RE: a little help...
>
>
> FamiLink Admin wrote:
>> I am only conce
r, David --- Senior Programmer Analyst --- WGO"
<[EMAIL PROTECTED]>
To: "FamiLink Admin" <[EMAIL PROTECTED]>
Cc:
Sent: Wednesday, September 28, 2005 5:53 PM
Subject: RE: a little help...
FamiLink Admin wrote:
I am only concerned about the IP. The rest is just to
gt;
>
> - Original Message -
> From: "Wagner, David --- Senior Programmer Analyst --- WGO"
> <[EMAIL PROTECTED]>
> To: "FamiLink Admin" <[EMAIL PROTECTED]>
> Cc:
> Sent: Wednesday, September 28, 2005 5:18 PM
> Subject: RE: a little help...
;[EMAIL PROTECTED]>
To: "FamiLink Admin" <[EMAIL PROTECTED]>
Cc:
Sent: Wednesday, September 28, 2005 5:18 PM
Subject: RE: a little help...
FamiLink Admin wrote:
Jeff ,
Thanks for all your help! This is what I have now (below and this
time the whole thing): I think I ha
put2 "$ip/32\n";
> $matched = $matches;
> $matches = 0;
> }
> }
> close $output;
> close $output2;
> return($matched,$ip,$hour,$time,$category,$url);
> }
>
>
>
> ---
d,$ip,$hour,$time,$category,$url);
}
--
Ryan Lamberton
- Original Message -
From: "Jeff 'japhy' Pinyan" <[EMAIL PROTECTED]>
To: "FamiLink Admin" <[EMAIL PROTECTED]>
C
On Sep 28, FamiLink Admin said:
I am trying to read a log file and get a list of how many times an IP
address get blocked each hour by category PO. An example line in the log
with a block is:
-
[2005-09-28 10:05:03 -7:00] 127.0.0.1 71.32.59.249 216.163.137.3 -
http://www.playbo
Hello all. Please let me know if this is a good place for my questions.
I am trying to read a log file and get a list of how many times an IP address
get blocked each hour by category PO. An example line in the log with a block
is:
-
[2005-09-28 10:05:03 -7:00] 127.0.0.1 71.32.59.2
> Not quite. There seems to be at least one extra step. With XP, you have
to
> call up a menu and select 'mark' before selecting. I can't recall at the
> moment whether you have to do menu selctions to paste at the insertion
point.
> In 2K, you can select text by dragging. If there is text sele
Guay Jean-Sébastien wrote:
> > [...] inclding copy-and-paste [though the XP version is
> > intentionally more of a pain-in-the-ass than the
> > W2K version, as with almost every professional
> > aspect of the OS].
>
> Err, not really sure what you mean by this. I have found it's precisely the
> s
> [...] inclding copy-and-paste [though the XP version is
> intentionally more of a pain-in-the-ass than the
> W2K version, as with almost every professional
> aspect of the OS].
Err, not really sure what you mean by this. I have found it's precisely the
same in WinXP as in Win2k. Care to expl
On Sat, Jan 31, 2004 at 08:51:00AM -0500, Joel wrote:
> What I meant about the command prompt was "Are all the command prompts the
> same? Also, could running the Activeperl software damage my system at all
> since it is using a command prompt?
Hmm, it looks like you have been told the whole 'the c
Joel wrote:
> I'm interested in learning to program perl, and I just got ActivePerl for Windows. I
> am running XP and have a few questions. First off, how do I run the interpreter
> under Windows, preferably without the XP command prompt?
Spend lots of money somewhere on a fancy wrapper, whic
On Sat, 31 Jan 2004, Joel wrote:
>
> What I meant about the command prompt was "Are all the command prompts the
> same? Also, could running the Activeperl software damage my system at all
> since it is using a command prompt?
>
> Thanks,
>
> Joel
Since Perl itself is very powerful, then a "Per
What I meant about the command prompt was "Are all the command prompts the
same? Also, could running the Activeperl software damage my system at all
since it is using a command prompt?
Thanks,
Joel
> > Also, when I opened perl, it looked like the command prompt. Is the
command
> > prompt acces
For Quality purpouses, Joel 's mail on Saturday 31 January 2004 00:26 may have
been monitored or recorded as:
Hi,
> I'm interested in learning to program perl, and I just got ActivePerl for
> Windows. I am running XP and have a few questions. First off, how do I run
> the interpreter under Wind
I'm interested in learning to program perl, and I just got ActivePerl for Windows. I
am running XP and have a few questions. First off, how do I run the interpreter under
Windows, preferably without the XP command prompt? Also, when I opened perl, it looked
like the command prompt. Is the comma
#!/usr/bin/perl
#print "Content-Type: text_html\n\n";
open (SALARY, ");
close (SALARY);
$read = join '',@read;
$read = $read + 10;
open (SALARY, "+
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 14:25 PM
Subject: RE: a little help in autoincremen
I wanted to print this in a file:
subnet $var1 netmask 255.255.255.0{range dynamic-bootp $var2 $var3;
}
$var1,$var2,$var3 are IP adress.
I do it and It works but now I wanted to do this:
In fact I wanted for exemple:$var2="192.40.54.n" and $var3="192.40.54.n+10"
How can I do this in Perl
Tha
I'm still a real beginner and think Mail::Sender is about as easy as it
gets...
Since the subject has been brought up, pls take a look at my simple sub for
emailing files. I know this code works but can be improved. I send the
file name(s) to be attached, a file name for the message text, and
gt; Sent: Wednesday, August 08, 2001 5:43 AM
> Subject: a little help here please
>
>
> > I have a script that does a bunch of things, one of which parses a large
> > amount of log files
> > every cycle through the script, what would I need todo to the script to
> only
inners
(E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 5:43 AM
Subject: RE: a little help here please
> Hi,
>
> Perl has a sleep function: sleep(EXPR)
> where EXPR is the time in minutes to
> make the script sleep for.
>
> eg: sleep(5);
>
>
value of $done.
}
- Original Message -
From: "Yacketta, Ronald" <[EMAIL PROTECTED]>
To: "Beginners (E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 5:43 AM
Subject: a little help here please
> I have a script that does a bunch of things, one of which p
> -Original Message-
> From: Yacketta, Ronald [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 08, 2001 11:44 AM
> To: Beginners (E-mail)
> Subject: a little help here please
>
>
> I have a script that does a bunch of things, one of which
> parses a
I'm continually surprised by the information-free subject headers. Most
people
that start a new thread here need help; that's why they're here. Not
flaming,
just hoping that people will take into account the potential usefulness of
subject lines (i.e., "Oooo, I know how to do that!" or "Oooo, I ne
On Wed, Aug 08, 2001 at 04:43:00PM +0100, Barry Carroll wrote:
: Hi,
:
: Perl has a sleep function: sleep(EXPR)
: where EXPR is the time in minutes to
: make the script sleep for.
Woops, I think you meant that EXPR is the number of seconds to
sleep().
sleep( 5 * 60 ); # sleep for 5 minutes
33 matches
Mail list logo