Re: Book suggestion

2002-02-25 Thread Kevin Butters
Being a beginning PERL writer myself with no programming background, I found the book very helpful as a start. --- Anidil Rajendran-Raj <[EMAIL PROTECTED]> wrote: > Hi team, > > I am unix admin trying to learn perl. How is the > book "LEARNING PERL BY > EXAMPLE" by Ellie Quigley > regs > > >

Re: Array question

2002-02-13 Thread Kevin Butters
You and Mike showed me my error. I placed a 1 in the length field. It was inserting the element member I wanted but also removing one. Thanks, K --- "Brett W. McCoy" <[EMAIL PROTECTED]> wrote: > On Tue, 12 Feb 2002, Michael Fowler wrote: > > > Consider: > > > > @week = qw(Monday Wednesday Fr

Split function

2002-02-12 Thread Kevin Butters
I am difficulty in using the split function to extract the current date from the @date_time variable. #! /usr/bin/perl -w #Class 4 assignment # define hash use strict; my %days; %days = ( 'mon' => 'Monday', 'tue' => 'Tuesday', 'wed' => 'Wednesday', 'thu' =>

Array question

2002-02-12 Thread Kevin Butters
Beginner question: .. I have an array that I want to insert elements into. I want to insert elements at specific points in the array. Example: use strict: @week = ("Monday", "Wednesday", "Friday"); I want to expand the array to include Tuesday after element 0 and Thursday after element 1

Use of Spllic command

2002-02-12 Thread Kevin Butters
A real beginner here. I have an array with 5 elements, 0-4. I want to insert values into the array at position 2. Do I use the splice command? splice(@array, 1, "value"); print "@array\n"; 0 1 2 3 4 5 __ Do You Yahoo!? Send FREE Valentine eCards w