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'

FW: Question about Beginning Perl by Simon Cozens

2016-09-01 Thread Walker, Michael E
From: Walker, Michael E Sent: Thursday, September 01, 2016 12:47 PM To: 'Aaron Wells' Subject: RE: Question about Beginning Perl by Simon Cozens Thank you all for sharing your perspective on this. I will compare both the first and second editions of Beginning Perl. Cozens’ writing style really

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

FW: Question about split

2009-06-08 Thread Ajay Kumar
Because first element of the array is empty -Original Message- From: sanket vaidya [mailto:sanket.vai...@patni.com] Sent: Wednesday, May 27, 2009 4:16 PM To: beginners@perl.org Subject: Question about split Hi all, Kindly look at the code below: use warnings; use strict; $_ = '

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

Fw: question

2003-11-12 Thread John Dillon
> perldoc > What he means is http://www.perldoc.com/ or something else, like something on c: or a terminal window. This is good. I've learnt something...like when perl people say something, stick it in google and see what comes up. Let's see how the search for (web) solutions compares between

FW: question on cook book example

2002-01-04 Thread marcus_holland-moritz
| buy not exactly sure how this is working. tried looking at | perldoc pack | but no luck. explanation is appreciated. perldoc unpack gives the explanation: In addition to fields allowed in pack(), you may prefix a field with a % to indicate that you want a -bit checksum of the items inst

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

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

2002-01-03 Thread Booher Timothy B 1stLt AFRL/MNAC
I hope this serves as an answer . . . The original file is of this form: * foo *** thingA: 12 thingB: 23 thingC: 21 trial 1 colAcolBcolCcolD 1 23 28 273 227

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

FW: Question

2001-12-19 Thread Pankaj Warade
Title: Glacier   -Original Message-From: Pankaj Warade [mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 19, 2001 3:56 PMTo: BeginnersSubject: Question I am using the GD:Graph for plotting the graphs. These graphs are generated on the fly and displayed on a wab browser. I need to p

FW: Question about searching a log file

2001-12-07 Thread Lance Prais
I am a beginning perl developer and am a little confused I was wondering if anyone out there can give me some direction. or at the very least tell me a good site for beginners to get information. it seem like every site is for advanced developers My situation is as follows I have a command that

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

FW: Question:

2001-11-16 Thread AMORE,JUAN (HP-Roseville,ex1)
> Hello, > Do I have the below dereferencing correct. > I a anonymous array and I'm trying to multiply > the "1" & "2" using the arrow notation: > >$arrayref = [ 1,2, ['x','y','z']]; > > $prod -> [0] * [1]; > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

FW: Question:

2001-11-15 Thread AMORE,JUAN (HP-Roseville,ex1)
> Hello, > Do I have the below dereferencing correct. > I a anonymous array and I'm trying to multiply > the "1" & "2" using the arrow notation: > >$arrayref = [ 1,2, ['x','y','z']]; > > $prod -> [0] * [1]; > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

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