Re: [Perl-unix-users] Learning Perl.

2003-06-27 Thread Danny L. Brow, Jr.
thanks for all your reply's. Dan. From: "Danny L. Brow, Jr." <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [Perl-unix-users] Learning Perl. Date: Fri, 27 Jun 2003 20:19:40 -0400 Hi everyone, I am currently reading Learing Perl from O'reilly and was wondering if this is a good book to learn

Re: [Perl-unix-users] Learning Perl.

2003-06-27 Thread Todd J Pardi
Hi Dan, If you are using windows or plan to run scripts on windows my favorite is "Win32 Perl scripting" by Dave Roth. The examples are great and His web site a great resource.  I must say joining this list will be the most helpful in learning perl, at least it was for me. Thank you, Todd Pardi

Re: [Perl-unix-users] Learning Perl.

2003-06-27 Thread Anthony Ettinger
It's a pretty good one. although I think it really depends on what you want to do with perl. It gets you started on using the language, but I found it wasn't all that helpful for building a web-based database application. For that I recommend mysql by oreilly, and CGI Programming by oreilly. Tho

[Perl-unix-users] Learning Perl.

2003-06-27 Thread Danny L. Brow, Jr.
Hi everyone, I am currently reading Learing Perl from O'reilly and was wondering if this is a good book to learn perl from? I like it so far, but some input about the book would be nice. Thanks, Dan. _ The new MSN 8: smart spam

[Perl-unix-users] Tk::Entry, how can enter key within it run a sub

2003-06-27 Thread Markham, Richard
Title: Tk::Entry, how can enter key within it run a sub given the following: my($input) = $frame3->Entry(-width => 150,     -background  => 'white',     -foreground  => 'black',     -textvariable=> \$inputcmd)->pack; H

RE: [Perl-unix-users] Nesting foreach using multiple arrays

2003-06-27 Thread danegron
Thank You all for your help.  I had the data store in 2 seperate arrays to begin with and I went with for (my $ii = 0; $ii < @animals; $ii++)         { print balh blah blah } Thank you, **DAN** EUROSPACE SZARINDAR <[EMAIL PROTECTED]> 06/27/2003 12:30 PM                 To:        "'[EMA

RE: [Perl-unix-users] Nesting foreach using multiple arrays

2003-06-27 Thread EUROSPACE SZARINDAR
Hi Dan, with your data model you could do that : for my $PetIndex in ( 0 .. $#animals) { print "animal = $animals[$PetIndex] and food = $petfood[PetIndex]\n"; } But this is not so nice What should be even better is to have a Hash in which you will store everything about a pet $PetTh

Re: [Perl-unix-users] Nesting foreach using multiple arrays

2003-06-27 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: Hi, new to the list here; quick question ! How do I nest multiple arrays in one 'foreach' statement ? ex. @animals = ("cat", "dog", "ferret", "mouse" ); @petfood = ("meow mix", "dog chow", "ferret food", "mouse food" ); foreach $object (@animals) { print "animal = $obj

Memo: Re: [Perl-unix-users] Nesting foreach using multiple arrays

2003-06-27 Thread kwabena . asare
Use a HASH instead of an array [EMAIL PROTECTED] on 27 Jun 2003 14:27 Sent by:[EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: bcc: Subject:[Perl-unix-users] Nesting foreach using multiple arrays Hi, new to the list here; quick question ! How do I nest multiple arrays in one 'fore

RE: [Perl-unix-users] Nesting foreach using multiple arrays

2003-06-27 Thread Peter Eisengrein
definitely. What you want is a hash. It would look like this:   ###   my %animalandfood = (     'cat' => 'meow mix',     'dog' => 'dog chow',     'ferret' => 'ferret food',     'mouse' => 'cheese'  ### changed this one on ya!     );     foreach my $animal (keys %animalandfood) {     print "an

[Perl-unix-users] Nesting foreach using multiple arrays

2003-06-27 Thread danegron
Hi, new to the list here; quick question ! How do I nest multiple arrays in one 'foreach' statement ? ex. @animals = ("cat", "dog", "ferret", "mouse" ); @petfood = ("meow mix", "dog chow", "ferret food", "mouse food" ); foreach $object (@animals) {   print "animal = $object and food = @petf