Re: problem using unix gzcat with perl filehandle

2007-08-02 Thread Charlotte Hee
Hi Tom, Yes, that works! I'll have to read up on piped open. thanks very much! Chee On Thu, 2 Aug 2007, Tom Phoenix wrote: Date: Thu, 2 Aug 2007 13:13:14 -0700 From: Tom Phoenix <[EMAIL PROTECTED]> To: Charlotte Hee <[EMAIL PROTECTED]> Cc: beginners@perl.org Subject:

problem using unix gzcat with perl filehandle

2007-08-02 Thread Charlotte Hee
Hello All, I have a set of gzipped files and I would like to unzip and read the contents using perl v5.8 and gzcat. The location of gzcat is '/usr/bin/gzcat' and the filenames are in the format: batch.shares.2007-07-24.gz where the date changes but the rest of the name is the same. All the

RE: scrolling_list and multiples

2004-10-20 Thread Charlotte Hee
On Sat, 16 Oct 2004, Charles K. Clarkson wrote: > Date: Sat, 16 Oct 2004 07:51:36 -0500 > From: Charles K. Clarkson <[EMAIL PROTECTED]> > To: 'Charlotte Hee' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > Subject: RE: scrolling_list and multiples > >

scrolling_list and multiples

2004-10-14 Thread Charlotte Hee
Hello All, I have a test form called pbauto, that displays 3 choices of magazines and upon submit, calls itself to print out what parameters were passed. I want to allow the user to select more than one magazine so I specify the option multiple=>1 for this. The web form seems to do the right thi

RE: problem with splitting on "words"

2004-07-30 Thread Charlotte Hee
On Fri, 30 Jul 2004, Bob Showalter wrote: > Date: Fri, 30 Jul 2004 13:52:57 -0400 > From: Bob Showalter <[EMAIL PROTECTED]> > To: 'Charlotte Hee' <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: RE: problem with splitting on "words" > &g

RE: problem with splitting on "words"

2004-07-30 Thread Charlotte Hee
;K- and I would consider 'B0->' a word and 'K-' another word. thanks for the quick repy. Chee On Fri, 30 Jul 2004, Bob Showalter wrote: > Date: Fri, 30 Jul 2004 13:29:54 -0400 > From: Bob Showalter <[EMAIL PROTECTED]> > To: 'Charlotte Hee&#x

problem with splitting on "words"

2004-07-30 Thread Charlotte Hee
Hello All, I am having trouble splitting words from titles from a list of research papers. I thought I could split the title into words like so: #!/usr/local/bin/perl use locale; %forums = ( 1 => 'B0->K+K-Ks', 2 => 'B+->K+KsKs Decays', 3 => 'Measurement of the

Re: illegal octal digit '8'?

2004-04-06 Thread Charlotte Hee
Thank you. I will study this more perlish style and upgrade my program. Chee On Fri, 2 Apr 2004, Wiggins d'Anconia wrote: > Date: Fri, 02 Apr 2004 20:21:11 -0500 > From: Wiggins d'Anconia <[EMAIL PROTECTED]> > To: Charlotte Hee <[EMAIL PROTECTED]> > C

illegal octal digit '8'?

2004-04-02 Thread Charlotte Hee
In my perl script I use the unix command 'date' to make a time stamp because eventually I want the date format to be DD-MON-, where DD is the number of the day (1-31), MON is the 3-char spelling of month (i.e. JAN), and is the 4-digit year. In this perl script I'm just testing for the da

Re: not getting the syntax

2004-03-15 Thread Charlotte Hee
On Fri, 12 Mar 2004, R. Joseph Newton wrote: > > Charlotte Hee wrote: > > > > > For a single record I can see how that works but let's say I have > > 4 or 5 employees and I have the employee information for each one > > (assumed). Now I want to build a r

Re: not getting the syntax

2004-03-12 Thread Charlotte Hee
On Thu, 11 Mar 2004, John W. Krahn wrote: > Date: Thu, 11 Mar 2004 16:33:00 -0800 > From: John W. Krahn <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: not getting the syntax > > Charlotte Hee wrote: > > > > Hello, > > Hello, > > >

not getting the syntax

2004-03-11 Thread Charlotte Hee
Hello, I'm looking at the perl cookbook example on how to create a record data type: $record = { NAME => "Jason", EMPNO => 132, TITLE => "deputy peon", AGE=> 23, SALARY => 37_000, PALS => [ "Norbert", "Rhys", "Phineas"], }; # store record $byname{ $record->{