Re: goto return ?

2006-12-05 Thread JupiterHost.Net
Thaks Jay, I'll soak it all up tomorrow first thing, I'm sleepy :) Good night all! Jay Savage wrote: On 12/3/06, Bill Jones <[EMAIL PROTECTED]> wrote: On 11/24/06, JupiterHost.Net <[EMAIL PROTECTED]> wrote: > The trick is I can't seem to goto() return in > do_some_stuff_and_return(), I'm sur

Re: Aggregating repeating lines

2006-12-05 Thread Jeff Pang
> >And I'm thinking, perhaps I should get a unique list of all countries included >in this logfile and only then I can aggregate their Bytes by using regexp. > >Can you give me some hints on how I can accomplish this goal.. > No regex is needed.You can use a hash to store the 'country' column a

Re: Aggregating repeating lines

2006-12-05 Thread John W. Krahn
Michael Alipio wrote: > Hi, Hello, > I have a long log file that looks like this: > > 7491| 210.23.185.123 | PH202597706 > 7491| 210.23.169.91| PH202594221 > 7303| 201.252.130.245 | AR201955854 > 9318| 210.205.6.225| KR201892149 > 9930| 210.19.229.5

Aggregating repeating lines

2006-12-05 Thread Michael Alipio
Hi, I have a long log file that looks like this: 7491| 210.23.185.123 | PH202597706 7491| 210.23.169.91| PH202594221 7303| 201.252.130.245 | AR201955854 9318| 210.205.6.225| KR201892149 9930| 210.19.229.57| MY201418551 9600| 210.251.253.1

Re: Help with WWW::Mechanize - Next Question

2006-12-05 Thread Mathew Snyder
Rob Dixon wrote: > Mathew Snyder wrote: >> With all the help I've received I've been able to get this working. >> This is my >> text: >> #!/usr/bin/perl >> >> use warnings; >> use strict; >> use WWW::Mechanize; >> use HTML::TokeParser; >> >> my $username = 'msnyder'; >> my $password = 'xxx'; >

Re: Net::EasyTCP

2006-12-05 Thread Derek B. Smith
--- zentara <[EMAIL PROTECTED]> wrote: > On Sat, 2 Dec 2006 08:08:22 -0800 (PST), > [EMAIL PROTECTED] > ("Derek B. Smith") wrote: > > >I dont understand > "there is no xs component" and > I > >dont understand > "So you could actually include > the > >EasyTCP code, as a package right into your sc

Problems with installing WWW::Mechanize::Shell

2006-12-05 Thread Raphael Brunner
Dear Users... I want to install WWW::Mechanize::Shell on a debian-testing linux-box. But, I have errors during the process and don't know how to solve it btw. what the problem is... Thanks for any help and ideas... Greetings Raphael #> perl -MCPAN -e 'install WWW::Mechanize::Shell' CPAN: File

Re: Perl Query - Conversion of EXE file

2006-12-05 Thread Jenda Krynicky
From: "kilaru rajeev" <[EMAIL PROTECTED]> > Jenda, > > I got a doubt here. Suppose the file does not contain any thing perl > code. If it contains only some data for configuration, is it possible > to include by using 'require' ? > > Rajeev Depends on the format. But if it's not Perl why does it

Re: Perl Query - Conversion of EXE file

2006-12-05 Thread kilaru rajeev
Jenda, I got a doubt here. Suppose the file does not contain any thing perl code. If it contains only some data for configuration, is it possible to include by using 'require' ? Rajeev On 12/5/06, Jenda Krynicky <[EMAIL PROTECTED]> wrote: From: "Dharshana Eswaran" <[EMAIL PROTECTED]> > > Anyw

Re: Perl Query - Conversion of EXE file

2006-12-05 Thread Jenda Krynicky
From: "Dharshana Eswaran" <[EMAIL PROTECTED]> > > Anyway .. if you run the main.pl it works, right? > > > Yeah, mail.pl works > > If you run the created EXE in the same folder what does it do? > > > The created EXE in the same folder works > > If you run it from a different folder? > > > >F

Re: checking hashref for value

2006-12-05 Thread Jenda Krynicky
From: Rob Dixon <[EMAIL PROTECTED]> > Jenda Krynicky wrote: > > From: Rob Dixon <[EMAIL PROTECTED]> > >> Hi Dermot > >> > >> You get some fun stuff to do don't you! > >> > >> To be honest I wouldn't go near XML::Simple because of exactly the > >> problems you're experiencing. It turns XML into a ne

How to read unicode data?

2006-12-05 Thread kilaru rajeev
Hi All, I got a "Little-endian UTF-16 Unicode C program character data, with very long lines, with CRLF line terminators" file. I want to sort it and then what to extract some patterns from it. Could anyone let me know about this? I wrote the program as it is an ordinary text file but i didnt get

Fw: I'd like to work

2006-12-05 Thread Monomachus
--- Forwarded message -- From: Monomachus <[EMAIL PROTECTED]> To: Date: 04.12.06 16:22 Subject: I'd like to work I was thinking about a Perl project (may be more)there I could work, gain experience, and probably make something usefull for society. I am a begginer in Perl, also can work wit