How TO CREATE RUNTIME CONTROLS

2004-10-01 Thread atul ashpalia
Hi All, I want to create runtime controls on the same webpage. For example, my webpage will contain a textbox, a hyperlink & a submit button. I want to achieve the following functionality : That is, if i click on the hyperlink, a new textboxes should be placed below the first one, if i click the

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Randal L. Schwartz
> "William" == William M West <[EMAIL PROTECTED]> writes: William> My impression was that OO in Perl has historically been fraught with William> CPU overhead - this will change in Perl 6? (argument number 2) FUD FUD FUD. *All* late binding takes a bit of time. Perl caches what it can. --

Re: Check for valid email address

2004-10-01 Thread Randal L. Schwartz
> "Gunnar" == Gunnar Hjalmarsson <[EMAIL PROTECTED]> writes: Gunnar> I never claimed the function to be perfect, and I said in Gunnar> practice. Noone is using such an address in real life unless they are Gunnar> asking for trouble; I'm sure you don't either. A frequent poster of past to comp

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread JupiterHost.Net
Nicolay A. Vasiliev wrote: I didn't mean CGI, only standart types. Everyone is just using your own examples as examples of why your arguments are moot :) That's the last .02 I'm spending on this crazy thread :) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Check for valid email address

2004-10-01 Thread Gunnar Hjalmarsson
Randal L. Schwartz wrote: "Gunnar" == Gunnar Hjalmarsson <[EMAIL PROTECTED]> writes: Gunnar> Or: This is a function I'm using in a couple of programs to check the Gunnar> syntax, and that I believe is sufficient in practice: Gunnar> sub emailsyntax { Gunnar> return 1 unless Gunnar>

Re: cgi scripts

2004-10-01 Thread Gunnar Hjalmarsson
Larry Adamiec wrote: How do I get the form data to the MS window ASP script using the POST method? I have tried using the GET method successfully ( print "Location: http://ip_address?ENV{'QUERY_STRING;'} ) but I don't want any data in the URL. Check out the libwww-perl package, e.g. LWP::UserAgen

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Nicolay A. Vasiliev
I didn't mean CGI, only standart types. JupiterHost.Net wrote: >>CGI is a module, earlier >>wrote and stored in a separate files. I don't mean such objects. >>>> > >And Python objects live where -- the sky? The stars? > > To create $cgi = new CGI you should make declaration "use CGI", s

RE: sum a column

2004-10-01 Thread West, William M
> >But I didn't say that about the script author, and you claim to be the >script author, so what's the problem? > >-- >Gunnar Hjalmarsson >Email: http://www.gunnar.cc/cgi-bin/contact.pl looks like a communications problem... "The script author does have a clue about programming." is easy to

cgi scripts

2004-10-01 Thread Adamiec, Larry
Hello, I am trying to send form data via a UNIX CGI Perl script to a MS Access database. The form and the CGI script are both on a secure web server. The unix script must be used to process the credit card information from the form. I intend to use the POST method of sending the form data to the

Re: sum a column

2004-10-01 Thread Gunnar Hjalmarsson
Rmck wrote: Gunnar Hjalmarsson wrote: Rmck wrote: Im not sure how to sum up the column... I tried by using the field and * it by the increment. That awkward attempt seems to be made by someone who hasn't a clue about programming. I have written every part of my script, The script author does have a

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread JupiterHost.Net
>>CGI is a module, earlier >>wrote and stored in a separate files. I don't mean such objects. >>>> > >And Python objects live where -- the sky? The stars? > > To create $cgi = new CGI you should make declaration "use CGI", shouldn't you? I meant only this Err, you keep arguing about poi

Re: Passing options to command in a system call

2004-10-01 Thread Jan Eden
Thanks, Errin, Doug and Bob, Errin Larsen wrote on 01.10.2004: >On Fri, 1 Oct 2004 17:41:50 +0200, Jan Eden <[EMAIL PROTECTED]> >wrote: >>How can I pass an option to system's first argument in a setting >>like this? > >This is ironic: > >>If all else fails read the instructions. - Donald Knuth

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Randal L. Schwartz
> "Nicolay" == Nicolay A Vasiliev <[EMAIL PROTECTED]> writes: Nicolay> Python and Ruby don't write the code for me. But look at this Python code: Nicolay> s = "I am Perl guru"; Nicolay> new_s = s.replace("Perl", "Python"); $s = "I am a Perl guru"; ($new_s = $s) =~ s/Perl/Python/; No additio

RE: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread West, William M
>With this willing to treat everything as object you end up with >Ugly code such as the following: >http://www.python.org/cgi-bin/moinmoin/CgiScripts (code snipped to save space) i found the Python script to be very readable- i am far more comfortable with Perl syntax, but it worked for me. I t

Re: Problem with subroutines with hash and var as input

2004-10-01 Thread Edward Wijaya
On Fri, 01 Oct 2004 08:58:44 -0700, John W. Krahn <[EMAIL PROTECTED]> wrote: Since $HoH now contains a reference to a hash you have to dereference it properly. delete $HoH->{ $k } if keys %${ $HoH->{ $k } } < $limit; return %$HoH; I apologize for insisting John. Tried as you sugges

Re: Passing options to command in a system call

2004-10-01 Thread Errin Larsen
On Fri, 1 Oct 2004 17:41:50 +0200, Jan Eden <[EMAIL PROTECTED]> wrote: > Hi, Hello! <> > > How can I pass an option to system's first argument in a setting like this? > > (I know I can use a module instead of calling wget, but this is a more general > issue.) > > Thanks, > > Jan > -- Th

Re: Problem with subroutines with hash and var as input

2004-10-01 Thread John W. Krahn
Edward Wijaya wrote: On Fri, 01 Oct 2004 07:41:43 -0700, John W. Krahn <[EMAIL PROTECTED]> wrote: Either put the scalar first in the list or pass a reference to the original hash. Now, I also tried with pass by reference my ($HoH,$limit) = @_; foreach my $k ( keys %$HoH ) {

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Nicolay A. Vasiliev
Chris Devers wrote: >>CGI is a module, earlier >>wrote and stored in a separate files. I don't mean such objects. >> >> > >And Python objects live where -- the sky? The stars? > > To create $cgi = new CGI you should make declaration "use CGI", shouldn't you? I meant only this > > >>Python

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Wiggins d Anconia
> > On Fri, 2004-10-01 at 11:04 +0200, Gabor Urban wrote: > > Hi guys, > > > > this thread seems to expand into something unworthy of this mailing > > list. You can not compare a cup of tea with a horse, these are two > > totally different things. > Don't be ridiculous, of course they don't compa

Re: Passing options to command in a system call

2004-10-01 Thread Doug Lewis
I haven't used the wget program before, but try adding a comma after your -O. I did that and I got it working. Jan Eden <[EMAIL PROTECTED]> wrote:Hi, I try to call wget using system like this: system("wget -O /dev/null", "http://janeden.org/test/file.txt";); This does not work: Can't exec "w

RE: Passing options to command in a system call

2004-10-01 Thread Bob Showalter
Jan Eden wrote: > Hi, > > I try to call wget using system like this: > > system("wget -O /dev/null", "http://janeden.org/test/file.txt";); > > This does not work: > > Can't exec "wget -O /dev/null": No such file or directory at > ./wgetrec.pl line 6. > > Ok, so how about this: > > system("wg

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread UV
On Fri, 2004-10-01 at 11:04 +0200, Gabor Urban wrote: > Hi guys, > > this thread seems to expand into something unworthy of this mailing > list. You can not compare a cup of tea with a horse, these are two > totally different things. Don't be ridiculous, of course they don't compare, a horse is _w

RE: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Doug Lewis
I won't even reply to the person that said, perl is old news. And that everyone talks about Python. That is just stupid. Most people either talk about C, C++, or Java. Then comes perl. Perl is still way more talked about than Python In my Experience. Perl makes things much simpler. "NYI

Passing options to command in a system call

2004-10-01 Thread Jan Eden
Hi, I try to call wget using system like this: system("wget -O /dev/null", "http://janeden.org/test/file.txt";); This does not work: Can't exec "wget -O /dev/null": No such file or directory at ./wgetrec.pl line 6. Ok, so how about this: system("wget", "-O /dev/null http://janeden.org/test/fi

RE: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Nicolay A. Vasiliev [mailto:[EMAIL PROTECTED] > Sent: Friday, October 01, 2004 2:45 PM > To: [EMAIL PROTECTED] > Subject: Re: Becoming Disenheartened - Everyone talks about > Python and says Perl is old news. > > > To Randal and Chris. You all don't unders

Re: substitution and assignment fun ( was RE: Becoming Disenheartened )

2004-10-01 Thread Chris Devers
On Fri, 1 Oct 2004, Nicolay A. Vasiliev wrote: > No doubt please, I know about regular expressions and Python/Ruby > support them fully. I only showed the approach of method calling. > There could be not "replace" method. You're arguing about semantics, but you concede that the functionality y

Re: Problem with subroutines with hash and var as input

2004-10-01 Thread Edward Wijaya
On Fri, 01 Oct 2004 07:41:43 -0700, John W. Krahn <[EMAIL PROTECTED]> wrote: Thanks, No need for $count or the second for loop: John, your one-liner certainly makes my sub looks better. Either put the scalar first in the list or pass a reference to the original hash. Now, I also tried with pass b

Re: substitution and assignment fun ( was RE: Becoming Disenheartened )

2004-10-01 Thread Nicolay A. Vasiliev
No doubt please, I know about regular expressions and Python/Ruby support them fully. I only showed the approach of method calling. There could be not "replace" method. William M West wrote: Python and Ruby don't write the code for me. But look at this Python code: s = "I am Perl guru"; new_s =

Re: newbie problem with Mail::POP3Client;

2004-10-01 Thread Jim Maas
Hi Wiggins, It works! Thanks a bunch. I'm no computer newbie but am new to Perl, and where does one get started? It was the AUTH_MODE, which had to be set to 'PASS'. The machine it is connecting to is a Sun running Linux, but I don't know the flavour or what mailer. This is just a demo/pro

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Paul Cox
On Fri, 1 Oct 2004 09:21:45 -0400 (EDT), Chris Devers <[EMAIL PROTECTED]> wrote: > On Fri, 1 Oct 2004, Nicolay A. Vasiliev wrote: > > > To Randal and Chris. You all don't understand me. > > There is a misunderstanding, but I'm not sure that it's Randal & me. > > > CGI is a module, earlier > > wr

Re: How to accumulate Hashes of Array value with the same key?

2004-10-01 Thread Edward Wijaya
On Fri, 1 Oct 2004 10:51:50 -0400, Dave Gray <[EMAIL PROTECTED]> wrote: $HoA = ( key1 => [ ['A',1], ['B',2], ['C',3] ]); Which is clunky when you want to detect duplicates, which is why I suggested the hash. I think you are right Dave. I will follow your suggestion. Regards, Edward WIJAYA -- To

Re: How to accumulate Hashes of Array value with the same key?

2004-10-01 Thread Dave Gray
On Fri, 1 Oct 2004 10:51:50 -0400, Dave Gray <[EMAIL PROTECTED]> wrote: > > $VAR1 = { 'key1' => ['A',1],['B',2],['C',2]}; > > That isn't going to do what you think it is... What you're asking for > there is to use the ['B', 2] array reference as a hash key... > > $VAR1 = { > 'ARRAY(0x804ca54)'

Re: How to accumulate Hashes of Array value with the same key?

2004-10-01 Thread Dave Gray
> $VAR1 = { 'key1' => ['A',1],['B',2],['C',2]}; That isn't going to do what you think it is... What you're asking for there is to use the ['B', 2] array reference as a hash key... $VAR1 = { 'ARRAY(0x804ca54)' => ['C',2], 'key1' => ['A',1] }; In order to get close to what I think you're tryin

Re: newbie problem with Mail::POP3Client;

2004-10-01 Thread Wiggins d Anconia
Please bottom post > > Thanks for this. I'm not completely new but haven't found any sort of > comprehensive docs, only cryptic ones. Where might I find it? > Documentation for modules available on CPAN are always available online in a quite readable format, for example, http://search.c

Re: Problem with subroutines with hash and var as input

2004-10-01 Thread John W. Krahn
Edward Wijaya wrote: Dear Sirs, I have the following code, that take Hash of Hash as an iput. Then I have function (see below) that takes a hash and a variable as input. This function will count the elements of secondary hashes and delete the hash, if it is below certain variable limit. So with thi

Re: Problem with subroutines with hash and var as input

2004-10-01 Thread Wiggins d Anconia
> Dear Sirs, > > I have the following code, that > take Hash of Hash as an iput. > > Then I have function (see below) that takes > a hash and a variable as input. > This function will count the elements > of secondary hashes and delete the hash, > if it is below certain variable limit. > > So wi

Re: newbie problem with Mail::POP3Client;

2004-10-01 Thread Jim Maas
Thanks for this. I'm not completely new but haven't found any sort of comprehensive docs, only cryptic ones. Where might I find it? By debug switch do you mean the optional debug_flag ? No I haven't but about to. No idea what AUTH_MODE means, and my two oreilly perl books don't tell me eith

Re: newbie problem with Mail::POP3Client;

2004-10-01 Thread Wiggins d Anconia
> I'm sure you've seen this one hundreds of times! > Uh, nope. Which is really nice. > I copied the following script, downloaded and installed the POP3Client > module but it doesn't want to connect to an external POP3 server for me, > for some reason. I have put in the correct pop3 server, u

Problem with subroutines with hash and var as input

2004-10-01 Thread Edward Wijaya
Dear Sirs, I have the following code, that take Hash of Hash as an iput. Then I have function (see below) that takes a hash and a variable as input. This function will count the elements of secondary hashes and delete the hash, if it is below certain variable limit. So with this : my %new_hoh = red

Re: Help needed: urgent

2004-10-01 Thread Wiggins d Anconia
Always group reply so that others can help and be helped and to avoid getting (accidentally) ignored. > --- > "But I need the output as an array like @db_results > which would be sent > to a HTML template.

newbie problem with Mail::POP3Client;

2004-10-01 Thread Jim Maas
I'm sure you've seen this one hundreds of times! I copied the following script, downloaded and installed the POP3Client module but it doesn't want to connect to an external POP3 server for me, for some reason. I have put in the correct pop3 server, username and password, at least the same ones

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Chris Devers
On Fri, 1 Oct 2004, Nicolay A. Vasiliev wrote: > To Randal and Chris. You all don't understand me. There is a misunderstanding, but I'm not sure that it's Randal & me. > CGI is a module, earlier > wrote and stored in a separate files. I don't mean such objects. And Python objects live where --

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Jenda Krynicky
From: "Nicolay A. Vasiliev" <[EMAIL PROTECTED]> > Dear mr. Schwartz! > Let me be unagreed. Functionally complete OO language at least means > the next thing: when I create some object (ie, declare some variable, > maybe string), this already have necessary methods like Python or > Ruby. Even C++ ha

substitution and assignment fun ( was RE: Becoming Disenheartened )

2004-10-01 Thread West, William M
> >Python and Ruby don't write the code for me. But look at this Python code: > >s = "I am Perl guru"; >new_s = s.replace("Perl", "Python"); i always had trouble doing this in perl- just worked around it- then realized that this shouldn't be hard when reading your post... so i played... $s = "

Re: sum a column

2004-10-01 Thread rmck
This is a beginner’s mailing list. I’m sorry my script is not at your level, I'm learning. I think telling someone on a beginners mailing list that they don’t have a clue is inappropriate. It shows me you have no clue. -Original Message- From: Gunnar Hjalmarsson [mailto:[EMAIL PROTE

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Nicolay A. Vasiliev
To Randal and Chris. You all don't understand me. CGI is a module, earlier wrote and stored in a separate files. I don't mean such objects. Python and Ruby don't write the code for me. But look at this Python code: s = "I am Perl guru"; new_s = s.replace("Perl", "Python"); Huh? Remark, no additio

Re: Becoming Disenheartened - Everyone talks about Python and saysPerl is old news.

2004-10-01 Thread Gavin Henry
Randal L. Schwartz said: >> "Gavin" == Gavin Henry <[EMAIL PROTECTED]> writes: > > Gavin> I have just read this famous peice: > > Gavin> > http://www.linuxjournal.com/article.php?sid=3882&mode=&order=&thold= > > I'm pretty sure that Eric Raymond is not fully aware of > test-first-development an

Re: How to accumulate Hashes of Array value with the same key?

2004-10-01 Thread Jan Eden
Edward Wijaya wrote on 01.10.2004: >On Thu, 30 Sep 2004 14:23:47 -0300, Shaw, Matthew <[EMAIL PROTECTED]> >wrote: > >Thanks Matt, > > >>> > my %HoA = (key1 => ['A',1]); >>> > my %HoA2 = (key1 => ['B',2]); >>> > my %HoA3 = (key1 => ['C',2]); >>> > >>> > into: >>> > > >Only this one works > >>> push

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Randal L. Schwartz
> "Nicolay" == Nicolay A Vasiliev <[EMAIL PROTECTED]> writes: Nicolay> Let me be unagreed. Functionally complete OO language at least means Nicolay> the next thing: when I create some object (ie, declare some variable, Nicolay> maybe string), this already have necessary methods like Python or

Re: How to accumulate Hashes of Array value with the same key?

2004-10-01 Thread Jan Eden
Edward Wijaya wrote on 01.10.2004: >On Thu, 30 Sep 2004 14:23:47 -0300, Shaw, Matthew <[EMAIL PROTECTED]> >wrote: > >Thanks Matt, > > >>> > my %HoA = (key1 => ['A',1]); >>> > my %HoA2 = (key1 => ['B',2]); >>> > my %HoA3 = (key1 => ['C',2]); >>> > >>> > into: >>> > > >Only this one works > >>> push

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Chris Devers
On Fri, 1 Oct 2004, Nicolay A. Vasiliev wrote: > Functionally complete OO language at least means the next thing: when > I create some object (ie, declare some variable, maybe string), this > already have necessary methods like Python or Ruby. Even C++ haven't > such functionality. Of course Pe

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Nicolay A. Vasiliev
Dear mr. Schwartz! Let me be unagreed. Functionally complete OO language at least means the next thing: when I create some object (ie, declare some variable, maybe string), this already have necessary methods like Python or Ruby. Even C++ haven't such functionality. Of course Perl haven't this t

Re: Becoming Disenheartened - Everyone talks about Python and saysPerl is old news.

2004-10-01 Thread Randal L. Schwartz
> "Gavin" == Gavin Henry <[EMAIL PROTECTED]> writes: Gavin> I have just read this famous peice: Gavin> http://www.linuxjournal.com/article.php?sid=3882&mode=&order=&thold= I'm pretty sure that Eric Raymond is not fully aware of test-first-development and Test::More and proper module packagin

Re: Check for valid email address

2004-10-01 Thread Randal L. Schwartz
> "Gunnar" == Gunnar Hjalmarsson <[EMAIL PROTECTED]> writes: Gunnar> Or: This is a function I'm using in a couple of programs to check the Gunnar> syntax, and that I believe is sufficient in practice: Gunnar> sub emailsyntax { Gunnar> return 1 unless Gunnar>my ($loca

Re: how do i describe a perl user?

2004-10-01 Thread Randal L. Schwartz
> "Errin" == Errin Larsen <[EMAIL PROTECTED]> writes: Errin> I say 'Perler' when I'm addressing this list. Haven't had anyone Errin> complain yet! I haven't seen anything else! Anyone else have some Errin> suggestions? The 'Guru's on the web are at a site called "Perl Errin> Monks". But w

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Randal L. Schwartz
> "Nicolay" == Nicolay A Vasiliev <[EMAIL PROTECTED]> writes: Nicolay> I mean real OO, but no perls "dirty hack". There is nothing "dirty" or "hack" about Perl's OO. It is as functionally complete as nearly any other programming language. -- Randal L. Schwartz - Stonehenge Consulting Servi

Re: sum a column

2004-10-01 Thread Gunnar Hjalmarsson
Rmck wrote: Are you serious. Indeed. Im not sure how to sum up the column... I tried by using the field and * it by the increment. That awkward attempt seems to be made by someone who hasn't a clue about programming. I have written every part of my script, The script author does have a clue abo

Re: Becoming Disenheartened - Everyone talks about Python and saysPerl is old news.

2004-10-01 Thread Nicolay A. Vasiliev
Absolutely :) Gavin Henry wrote: Could you guys keep this thread constructive or STOP it ... Please ? It's been very constructive for me :-) I have just read this famous peice: http://www.linuxjournal.com/article.php?sid=3882&mode=&order=&thold= I am going to learn both and make up my own mind

RE: Becoming Disenheartened - Everyone talks about Python and saysPerl is old news.

2004-10-01 Thread Gavin Henry
> Could you guys keep this thread constructive or STOP it ... Please ? > It's been very constructive for me :-) I have just read this famous peice: http://www.linuxjournal.com/article.php?sid=3882&mode=&order=&thold= I am going to learn both and make up my own mind. I think that's the best for

RE: Becoming Disenheartened - Everyone talks about Python and saysPerl is old news.

2004-10-01 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Gabor Urban [mailto:[EMAIL PROTECTED] > Sent: Friday, October 01, 2004 11:05 AM > To: [EMAIL PROTECTED] > Subject: Re: Becoming Disenheartened - Everyone talks about > Python and saysPerl is old news. > > > Hi guys, > > this thread seems to expand into so

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Nicolay A. Vasiliev
Agreed! Gabor Urban wrote: Hi guys, this thread seems to expand into something unworthy of this mailing list. You can not compare a cup of tea with a horse, these are two totally different things. Both Perl and Python have it's place under the sun, both have very good features, and some very diffic

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Gabor Urban
Hi guys, this thread seems to expand into something unworthy of this mailing list. You can not compare a cup of tea with a horse, these are two totally different things. Both Perl and Python have it's place under the sun, both have very good features, and some very difficult aspects, too. Both ca

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Nicolay A. Vasiliev
I mean real OO, but no perls "dirty hack". Perl has OO support. In my opinion those funny syntax get u the job done quicker when your boss comes down to you with deadly deadlines. ~;-) I assume those syntax u are talking about is regular expression. -- Best regards, Nicolay http://www.soft411.co

RE: RFC on script

2004-10-01 Thread Charles K. Clarkson
From: RichT wrote: : im still very new to perl and, iv got my script : "working", It doesn't work for me. What are you using on the command line to make it work? According to the usage shown below, this script should fail every time. : what is does in searche

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Sano Babu
> >Perl is more powerful. Python is simpler. Python is for people > >who don't want to master a language -- just use it casually. > > > > > This is no serious statement. Python is simple and power too. Read > please Bruce Eckel why he left Perl and came to Python. > At least, it's really object-o

Re: modules

2004-10-01 Thread Sano Babu
[snip] > If you want to "do as the Romans do", maybe you can sign up for a Gmail > account or something that would be more flexible... Do u want to be one of the Romans? :-) Its hell good being Roman.. Amongst many other things just to name a few advantage of being Roman are u almost never might n

Re: How to accumulate Hashes of Array value with the same key?

2004-10-01 Thread Edward Wijaya
On Thu, 30 Sep 2004 14:23:47 -0300, Shaw, Matthew <[EMAIL PROTECTED]> wrote: Thanks Matt, > my %HoA = (key1 => ['A',1]); > my %HoA2 = (key1 => ['B',2]); > my %HoA3 = (key1 => ['C',2]); > > into: > Only this one works push @{$HoA{key1}}, ( @{$HoA2{key1}}, @{$HoA2{key1}}); Not this Sorry this shoul

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread Nicolay A. Vasiliev
Hello! This is very interesting thread. So, let me add some words to this. (Sorry in advance my English). Best of all, let me express my respect to Mr. Schwartz. I read your Lama-book and I think that's very useful for every Perl newbie. I got such chain: Lama-book, Camel-book and Cook-book :).

Re: How to accumulate Hashes of Array value with the same key?

2004-10-01 Thread Edward Wijaya
On Thu, 30 Sep 2004 17:03:40 -0400, Dave Gray <[EMAIL PROTECTED]> wrote: I'm not sure what you want to do here... do you want to combine all the values into one array reference, stored in $HoA{key1}? As you mention above. That is exactly what I mean: This sounds like it's part of a bigger question.