Re: list guidelines?

2010-02-03 Thread Alexander Koenig
You wrote on 02/02/2010 05:29 PM: i think we need to come up with a set of guidelines for this list. this would be autoposted a few times a week and possibly to every new address seen. While I think this is a good idea in principle, in my opinion posting this "a few times a week" to the list b

Re: list guidelines?

2010-02-03 Thread Uri Guttman
> "AK" == Alexander Koenig writes: AK> You wrote on 02/02/2010 05:29 PM: >> i think we need to come up with a set of guidelines for this list. this >> would be autoposted a few times a week and possibly to every new address >> seen. AK> While I think this is a good idea in principl

How to add a last-modified field to a page header ???? ....

2010-02-03 Thread Slide
I have implemented a site using Perl, but I'm not really a Perl programmer, and now I want to modify the code so that dynamic pages are generated with a last-modified field to so that Google will re- crawl the pages. This is what I'm doing to generate the header now print "Content-type: text

:Jan 16, 2010

2010-02-03 Thread syd_p
Hi, I need to parse a date in the above format - it is actually the output from redhat chage (which I have in a variable and is the expiry date of a password. Need to compare with the current date calculate the number of days difference. Not quite sure how to go about this - can someone help.

Re: :Jan 16, 2010

2010-02-03 Thread Jim Gibson
On 2/2/10 Tue Feb 2, 2010 6:38 AM, "syd_p" scribbled: > Hi, > > I need to parse a date in the above format - it is actually the output > from redhat chage (which I have in a variable and is the expiry date > of a password. > > Need to compare with the current date calculate the number of days

Re: :Jan 16, 2010

2010-02-03 Thread Shlomi Fish
Hi Syd! On Tuesday 02 Feb 2010 16:38:41 syd_p wrote: > Hi, > > I need to parse a date in the above format - it is actually the output > from redhat chage (which I have in a variable and is the expiry date > of a password. > > Need to compare with the current date calculate the number of days > d

Re: How to add a last-modified field to a page header ???? ....

2010-02-03 Thread Shlomi Fish
Hi Slide! On Wednesday 03 Feb 2010 00:23:15 Slide wrote: > I have implemented a site using Perl, but I'm not really a Perl > programmer, and now I want to modify the code so that dynamic pages > are generated with a last-modified field to so that Google will re- > crawl the pages. > > This is wha

Basic Perl Questions

2010-02-03 Thread PolyPusher
Hi All, I have some Perl experience but has been awhile. I mainly write SKILL lisp programs for Cadence CAD for a layout group(we are a IC design center). I have a CBR(describes circuit) file and want to open it, find the line in file .SUBCKT __RE1321_4 HB_GND GSM_RX DCS_RX DCS_VRX GSM_VRX PCS

Re: Simple cgi email

2010-02-03 Thread Jeremiah Foster
On Feb 2, 2010, at 19:46, Uri Guttman wrote: >> "RH" == Robert H writes: > > RH> I am just trying to do a simple emailer for a site. I came up with the > RH> following and was wondering if there are any security issues that jump > RH> out. > > check out NMS versions of the classic cgi

Re: Basic Perl Questions

2010-02-03 Thread Jim Gibson
On 2/3/10 Wed Feb 3, 2010 6:44 AM, "PolyPusher" scribbled: > Hi All, > > I have some Perl experience but has been awhile. I mainly write > SKILL lisp programs for Cadence CAD for a layout group(we are a IC > design center). > > I have a CBR(describes circuit) file and want to open it, find

Re: Basic Perl Questions

2010-02-03 Thread John W. Krahn
PolyPusher wrote: Hi All, Hello, I have some Perl experience but has been awhile. I mainly write SKILL lisp programs for Cadence CAD for a layout group(we are a IC design center). I have a CBR(describes circuit) file and want to open it, find the line in file Is it just one line or are t

Re: prepare(SELECT ... FROM TABLE) error

2010-02-03 Thread Tony Esposito
This question has never been answered.  To out it another way, given the code ...  foreach my $mytable (@mytables) {  my $sth = $dbh->prepare("SELECT COUNT(*) FROM mytable");    # report error but move on to next table } how do I ignore the situation/error that DBI throws when $mytable does not

complex subroutine arguments

2010-02-03 Thread Eric Mooshagian
Dear All, I have a few subroutines that I use to first build an index for several arrays and then, for example, take the mean for the index values. When I build the index I can exclude particular values in an array as follows: my $index = defindex( exclude => ["0",\...@accuracy],

Fwd: complex subroutine arguments - correction

2010-02-03 Thread Eric Mooshagian
Correction, I meant ||, not && ... exclude => (responsetime <= 200) || (responsetime >= 1200) where responsetime refers to an array. Thanks, Eric Begin forwarded message: From: Eric Mooshagian Date: February 3, 2010 10:45:37 PM EST To: beginners@perl.org Subject: complex subroutine argum

Re: complex subroutine arguments

2010-02-03 Thread John W. Krahn
Eric Mooshagian wrote: Dear All, Hello, I have a few subroutines that I use to first build an index for several arrays and then, for example, take the mean for the index values. When I build the index I can exclude particular values in an array as follows: my $index = defindex( exclud