Re: FW: Question about Beginning Perl by Simon Cozens

2016-09-01 Thread Neil Hainer
Mike, Do what's best for you and enjoy Simon's Cozens book. I always liked the way he wrote as well. On Thu, Sep 1, 2016 at 1:49 PM, Walker, Michael E < michael.e.walk...@boeing.com> wrote: > > > > > *From:* Walker, Michael E > *Sent:* Thursday, September 01, 2016 12:47 PM > *To:* 'Aaron Wells'

Re: FW: Question about split

2009-06-08 Thread Gene
>From my understanding, the splitter always associated with two parts, the front part and back part, in your example, the first splitter is "Welcome to openSUSE ", whose front part is blank, so the first element of @numbers should be empty. You can try a simpler example as follows: $_ = ":0"; my

Re: Fw: question

2003-11-13 Thread Chuck Fox
[EMAIL PROTECTED] wrote: On Wed, 12 Nov 2003 19:44:02 +, John Dillon wrote: whereas php started as a HTML manipulation language and is good for database interaction, for which arrays are important. I'd love to see examples on what Perl can't do compared to PHP. One of my biggest compl

Re: Fw: question

2003-11-12 Thread Tore Aursand
On Wed, 12 Nov 2003 19:44:02 +, John Dillon wrote: > whereas php started as a HTML manipulation language and is good for > database interaction, for which arrays are important. In which way are arrays _important_ for database interaction? The important things when dealing with databases is to

Re: Fw: question

2003-11-12 Thread Dan Anderson
Just because a function is named foo in PHP doesn't mean it's named foo in perl. As a matter of fact Perl has: pop <-- returns the top of an array and deletes it -- like array_pop push <-- puts something into an array shift <-- returns the bottom of the arr

Re: FW: question -- beginner's programmer's block (your answer)

2002-01-03 Thread Jeff 'japhy' Pinyan
On Jan 3, Booher Timothy B 1stLt AFRL/MNAC said: >I hope this serves as an answer . . . Ok, I see. Then in your case, you'd probably want to do something like: for (split /\n/, $buffer) { ($field, $value) = split /\s*:\s+/; $field =~ s/^\s+//; $value =~ s/\s+$//; # do whateve

Re: FW: Question

2001-12-20 Thread Jerry Preston
Pankaj, What I did was to make the background display area larger and then write the info to that area.   my $back_ground = 800;   my $image = new GD::Image( $back_ground + 660, $back_ground + 130 ); Jerry Pankaj Warade wrote:   -Original Message- From: Pankaj Warade [mailto:[EMAIL PROT

Re: FW: Question:

2001-11-16 Thread register
$arrayref seems okay assuming that $prod is an array ref it should be $prod->[0] * $prod->[1] On Fri, Nov 16, 2001 at 11:52:49AM -0500, AMORE,JUAN (HP-Roseville,ex1) shaped the electrons to read: > > > > Hello, > > Do I have the below dereferencing correct. > > I a anonymous array and I'm tryi

Re: Fw: question

2001-11-08 Thread Jenda Krynicky
[almost OT now ! Just talkin' and talkin' ...] From: Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> > On Nov 8, shirley said: > > >Is it possible read in the data then extract the Max value and > >Minimum value out of that data set using perl ? > > Sorting a list of numbers is NOT th