help in coding LHS

2004-05-28 Thread N, Guruguhan \(GEAE, Foreign National, EACOE\)
Hi All, Is there any perl code already existing for Latin Hypercube Sampling technique? Any help in this regard is welcome. Thanks Regards Guruguhan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: The >> operator

2004-05-28 Thread John W. Krahn
"Randy W. Sims" wrote: > > On 5/29/2004 12:28 AM, gohaku wrote: > > Hi all, > > I'm not sure if ">>" is an official operator in Perl but I have seen > > ">>" used in conjunction with > > HTML code or Long Strings. > > a google search and perldoc doesn't return any useful information. > > I am look

Re: The >> operator

2004-05-28 Thread Randy W. Sims
On 5/29/2004 12:28 AM, gohaku wrote: Hi all, I'm not sure if ">>" is an official operator in Perl but I have seen ">>" used in conjunction with HTML code or Long Strings. a google search and perldoc doesn't return any useful information. I am looking for code examples that use ">>". It has two use

Urgent

2004-05-28 Thread LKTee
Other command can instance? Because after try still no work. -Original Message- From: John W. Krahn [mailto:[EMAIL PROTECTED] Sent: Thursday, May 27, 2004 9:37 AM To: [EMAIL PROTECTED] Subject: Re: How to find same filename in subdirectory > Hi, John thanks you comment, the coding i

The >> operator

2004-05-28 Thread gohaku
Hi all, I'm not sure if ">>" is an official operator in Perl but I have seen ">>" used in conjunction with HTML code or Long Strings. a google search and perldoc doesn't return any useful information. I am looking for code examples that use ">>". TIA, -gohaku -- To unsubscribe, e-mail: [EMAIL PRO

Re: regular expression

2004-05-28 Thread Beau E. Cox
On Friday 28 May 2004 05:47 pm, John W. Krahn wrote: > "Beau E. Cox" wrote: > > On Friday 28 May 2004 03:31 pm, Mandar Rahurkar wrote: > > > for(@cont) { > > > tr/A-Z/a-z/; > > > > You forgot the 'g': > >tr/A-Z/a-z/g; > > tr/// doesn't have a /g option. > > perldoc perlop OK. I was thinking

Re: regular expression

2004-05-28 Thread John W. Krahn
"Beau E. Cox" wrote: > > On Friday 28 May 2004 03:31 pm, Mandar Rahurkar wrote: > > > > for(@cont) { > > tr/A-Z/a-z/; > > You forgot the 'g': >tr/A-Z/a-z/g; tr/// doesn't have a /g option. perldoc perlop John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTE

Re: regular expression (made more clearer)

2004-05-28 Thread John W. Krahn
Mandar Rahurkar wrote: > > Hi, Hello, > I am trying to remove from file : >1. all characters but any alphabet and numbers (i.e., file shd not contain > anything > but "alphabets and numbers" that means NO punctuation etc... Do you consider these "ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛ

Re: regular expression

2004-05-28 Thread Beau E. Cox
On Friday 28 May 2004 03:31 pm, Mandar Rahurkar wrote: > Hi, >I am trying to remove from file : > 1. all characters but any alphabet and numbers. > 2. all trailing spaces should be made to one space. > >following code doesnt seem to work for objective [1] mentioned above. >

regular expression (made more clearer)

2004-05-28 Thread Mandar Rahurkar
Hi, I am trying to remove from file : 1. all characters but any alphabet and numbers (i.e., file shd not contain anything but "alphabets and numbers" that means NO punctuation etc... 2. all trailing spaces should be made to one space. following code doesnt seem to w

Re: regular expression

2004-05-28 Thread James Edward Gray II
On May 28, 2004, at 8:31 PM, Mandar Rahurkar wrote: Hi, I am trying to remove from file : 1. all characters but any alphabet and numbers. tr/A-Za-z0-9//cd; # should handle that 2. all trailing spaces should be made to one space. I'm not 100% sure I understand this, but I'm gues

regular expression

2004-05-28 Thread Mandar Rahurkar
Hi, I am trying to remove from file : 1. all characters but any alphabet and numbers. 2. all trailing spaces should be made to one space. following code doesnt seem to work for objective [1] mentioned above. Can anyone please point out why ? Thanks, Mandar --- open(fp,$

Re: regex help

2004-05-28 Thread Andrew Gaffney
Roberto Etcheverry wrote: On Fri, 28 May 2004, Andrew Gaffney wrote: I'm trying to write a regex to parse the following data. Each group is a string to parse. 05/28/04 Purchase With Pin Pin $10.00(pending) $1,224.45 05/27/04 Purchase With Pin Shell Service Stlake St. Loumo $1.78 $1,234.45 05/2

Re: A ref too far: assign an array ref to an array ref to a hash element

2004-05-28 Thread John W. Krahn
Angie Ahl wrote: > > Hi people Hello, > I'm trying to create a hash of arrays of arrays and I'm having a mind > twisting time with references. > > my $key = "some_varying_text" > my %pathhash; > my @link = ($LinkUrl, $LinkTitle); > > I'm trying to set $pathhash{$key} to an array that contains

Re: hour -1 routine

2004-05-28 Thread John W. Krahn
Anthony J Segelhorst wrote: > > I am trying to set up a script that will do the do a current time -1 > routine. > > Examples: > > Current Time: > mmddyy:hhss > 052804:1030 > > Output: > 052804:0930 > > Current Time: > 052704:0015 > > Output: > 052604:23:15 > > I think the add_delta module is

A ref too far: assign an array ref to an array ref to a hash element

2004-05-28 Thread Angie Ahl
Hi people I'm trying to create a hash of arrays of arrays and I'm having a mind twisting time with references. my $key = "some_varying_text" my %pathhash; my @link = ($LinkUrl, $LinkTitle); I'm trying to set $pathhash{$key} to an array that contains the array @link. ie there will be multiple @li

Re: Request Tracker and HTML::FormatText

2004-05-28 Thread Robert Citek
On Friday, May 28, 2004, at 16:29 US/Central, Roberto Etcheverry wrote: http://search.cpan.org/src/GAAS/HTML-Format-1.23/lib/HTML/FormatText.pm Thanks. I looked for that tar file and couldn't find one. So, I used a wget to download the module: wget -m -nH -np http://search.cpan.org/src/GAAS/

Re: Request Tracker and HTML::FormatText

2004-05-28 Thread Roberto Etcheverry
Look in search.cpan.org. Sources are found at http://search.cpan.org/src/GAAS/HTML-Format-1.23/lib/HTML/FormatText.pm On Fri, 28 May 2004, Robert Citek wrote: > > Hello all, > > We are in the process of installing Request Tracker ( > http://www.bestpractical.com/rt/ -- rt.3.0.11 ) on a Fedora bo

Request Tracker and HTML::FormatText

2004-05-28 Thread Robert Citek
Hello all, We are in the process of installing Request Tracker ( http://www.bestpractical.com/rt/ -- rt.3.0.11 ) on a Fedora box and are running into an issue with installing the CPAN module HTML::FormatText. RT requires it, yet CPAN no longer has it. A google search find some in cache, but th

Re: regex help

2004-05-28 Thread Roberto Etcheverry
On Fri, 28 May 2004, Andrew Gaffney wrote: > I'm trying to write a regex to parse the following data. Each group is a string > to parse. > > 05/28/04 > > Purchase With Pin Pin > > $10.00(pending) href='javascript: ShowHelp("PENDING TRANSACTION")'> border="0"> > $1,224.45 > > 05/27/04 > > Purc

Re: weird math

2004-05-28 Thread Andrew Gaffney
Kevin Old wrote: On Thu, 2004-05-27 at 23:31, Andrew Gaffney wrote: I am writing a program to parse a CSV file downloaded from my bank. I have it keep a running balance, but I'm getting a weird total. Apparently, -457.16 + 460.93 = 3.769998. But when 20 is subtracted from that, I get -16.

regex help

2004-05-28 Thread Andrew Gaffney
I'm trying to write a regex to parse the following data. Each group is a string to parse. 05/28/04 Purchase With Pin Pin $10.00(pending) $1,224.45 05/27/04 Purchase With Pin Shell Service Stlake St. Loumo $1.78 $1,234.45 05/21/04 Atm Withdrawal One O'fallon Squo'fallon Mo 1 $20.00 $ 1,1

RE: max number of data within an array

2004-05-28 Thread Charles K. Clarkson
Boon Chong Ang <[EMAIL PROTECTED]> wrote: : : May I know what is the maximum number of data that I : can stored within an array? AFAIK it depends on the amount of resources available to that process. Unless you have only a limited amount of resources you should be able to store extremely larg

RE: Regexp

2004-05-28 Thread Wagner, David --- Senior Programmer Analyst --- WGO
[EMAIL PROTECTED] wrote: > I have the following lines: > > g00:~> perl -e ' > $a = "aa** a"; Since you have * which in a regex stands for zero or more occurances, then you must turn this off as part of the processing. You use \Q and \E as in /^\Q$b\E/ would take the aa** a as just that.

Regexp

2004-05-28 Thread max4o
I have the following lines: g00:~> perl -e ' $a = "aa** a"; $b = $a; $b =~ qw/$b/; print "Yes\n" if $a =~ /^$b/; print $b' Nested quantifiers in regex; marked by <-- HERE in m/^aa** <-- HERE a/ at -e line 5. Is there a way to make the regexp takes '$b' as string, because I see the non characters

Re: weird math

2004-05-28 Thread Peter Scott
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Andrew Gaffney) writes: >I am writing a program to parse a CSV file downloaded from my bank. I have it >keep a running balance, but I'm getting a weird total. Apparently, -457.16 + >460.93 = 3.769998. But when 20 is subtracted from that,

Re: weird math

2004-05-28 Thread Rob Dixon
Hi Andrew. Andrew Gaffney wrote: > > I am writing a program to parse a CSV file downloaded from my bank. I have it > keep a running balance, but I'm getting a weird total. Apparently, -457.16 + > 460.93 = 3.769998. But when 20 is subtracted from that, I get -16.23. > There are no weird

Re: weird math

2004-05-28 Thread Paul Johnson
On Thu, May 27, 2004 at 10:31:08PM -0500, Andrew Gaffney wrote: > I am writing a program to parse a CSV file downloaded from my bank. I have > it keep a running balance, but I'm getting a weird total. Apparently, > -457.16 + 460.93 = 3.769998. But when 20 is subtracted from that, I > ge

Re: weird math

2004-05-28 Thread Kevin Old
On Thu, 2004-05-27 at 23:31, Andrew Gaffney wrote: > I am writing a program to parse a CSV file downloaded from my bank. I have it > keep a running balance, but I'm getting a weird total. Apparently, -457.16 + > 460.93 = 3.769998. But when 20 is subtracted from that, I get -16.23. > Ther

RE: hour -1 routine

2004-05-28 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Anthony J Segelhorst wrote: > "Wiggins d Anconia" <[EMAIL PROTECTED]> wrote on 05/28/2004 > 12:37:56 PM: > >>> >>> I am trying to set up a script that will do the do a current time >>> -1 routine. >>> >>> Examples: >>> >>> Current Time: >>> mmddyy:hhss >>> 052804:1030 >>> >>> Output: >>> 0528

Re: hour -1 routine

2004-05-28 Thread Wiggins d Anconia
> > "Wiggins d Anconia" <[EMAIL PROTECTED]> wrote on 05/28/2004 12:37:56 > PM: > > > > > > > I am trying to set up a script that will do the do a current time -1 > > > routine. > > > > > > Examples: > > > > > > Current Time: > > > mmddyy:hhss > > > 052804:1030 > > > > > > Output: > > > 0528

Re: weird math

2004-05-28 Thread John W. Krahn
Andrew Gaffney wrote: > > I am writing a program to parse a CSV file downloaded from my bank. I have it > keep a running balance, but I'm getting a weird total. Apparently, -457.16 + > 460.93 = 3.769998. But when 20 is subtracted from that, I get -16.23. > There are no weird numbers like t

Re: Question on Net::FTP.

2004-05-28 Thread Silky Manwani
I was doing this from a Windows to Mac OSX machine. I had a "firewall" turned on in "Sharing". Not sure why it doesn't work with firewall turned on. On May 28, 2004, at 2:41 AM, NYIMI Jose (BMB) wrote: -Original Message- From: Silky Manwani [mailto:[EMAIL PROTECTED] Sent: Friday, May 28,

Re: hour -1 routine

2004-05-28 Thread Anthony J Segelhorst
"Wiggins d Anconia" <[EMAIL PROTECTED]> wrote on 05/28/2004 12:37:56 PM: > > > > I am trying to set up a script that will do the do a current time -1 > > routine. > > > > Examples: > > > > Current Time: > > mmddyy:hhss > > 052804:1030 > > > > Output: > > 052804:0930 > > > > > > Current Tim

Re: weird math

2004-05-28 Thread Wiggins d Anconia
> I am writing a program to parse a CSV file downloaded from my bank. I have it > keep a running balance, but I'm getting a weird total. Apparently, -457.16 + > 460.93 = 3.769998. But when 20 is subtracted from that, I get -16.23. > There are no weird numbers like that in my input data.

Re: max number of data within an array

2004-05-28 Thread Jeff 'japhy' Pinyan
On May 28, Boon Chong Ang said: >May I know what is the maximum number of data that I can stored within an >array? I don't know what the maximum number of data YOU can store in an array is, because I don't know how much memory your computer has. The size of your data structures in Perl is depend

Re: weird math

2004-05-28 Thread Jeff 'japhy' Pinyan
On May 27, Andrew Gaffney said: >I am writing a program to parse a CSV file downloaded from my bank. I have it >keep a running balance, but I'm getting a weird total. Apparently, -457.16 + >460.93 = 3.769998. But when 20 is subtracted from that, I get -16.23. >There are no weird numbers li

Re: weird math

2004-05-28 Thread Angie Ahl
On 28 May 2004, at 04:31, Andrew Gaffney wrote: I am writing a program to parse a CSV file downloaded from my bank. I have it keep a running balance, but I'm getting a weird total. Apparently, -457.16 + 460.93 = 3.769998. But when 20 is subtracted from that, I get -16.23. There are no we

Re: max number of data within an array

2004-05-28 Thread Rob Dixon
Boon Chong Ang wrote: > > May I know what is the maximum number of data that I can stored within an > array? It seems that if the number of data exist 265, then it will be miss > already or it is due to memory problem? Hi. I'm pretty sure that the theoretical size of Perl arrays is limited only b

RE: Question on Net::FTP.

2004-05-28 Thread NYIMI Jose (BMB)
> -Original Message- > From: Silky Manwani [mailto:[EMAIL PROTECTED] > Sent: Friday, May 28, 2004 3:42 AM > Cc: [EMAIL PROTECTED] > Subject: Re: Question on Net::FTP. > > > Never mind. > > Figured it out. > > :) Could you share the solution ? José. DISCLAIMER "This e-mai

Re: hour -1 routine

2004-05-28 Thread u235sentinel
What have you tried so far? Perhaps we can help tweak the code. Anthony J Segelhorst wrote: I am trying to set up a script that will do the do a current time -1 routine. Examples: Current Time: mmddyy:hhss 052804:1030 Output: 052804:0930 Current Time: 052704:0015 Output: 052604:23:15 I think th

Re: hour -1 routine

2004-05-28 Thread Wiggins d Anconia
> > I am trying to set up a script that will do the do a current time -1 > routine. > > Examples: > > Current Time: > mmddyy:hhss > 052804:1030 > > Output: > 052804:0930 > > > Current Time: > 052704:0015 > > Output: > 052604:23:15 > > > I think the add_delta module is where I need to go,

hour -1 routine

2004-05-28 Thread Anthony J Segelhorst
I am trying to set up a script that will do the do a current time -1 routine. Examples: Current Time: mmddyy:hhss 052804:1030 Output: 052804:0930 Current Time: 052704:0015 Output: 052604:23:15 I think the add_delta module is where I need to go, but I have never used modules before. Ant

Form Help

2004-05-28 Thread John Pretti
All, I have created a CGI promotion script that allows users to push files from one server to another. By nature I know you can only select one radio button, but how can I send an error to the user if they accidentally press submit without selecting a radio button? Thanks in advance, John

RE: Program to scan dictionary for words with letters in a particul ar set?

2004-05-28 Thread McMahon, Chris
List::Compare. http://search.cpan.org/search?query=list-compare&mode=all -Chris -Original Message- From: Jim Witte [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 26, 2004 10:15 PM To: [EMAIL PROTECTED] Subject: Program to scan dictionary for words with letters in a particular set? Gi

Looking for a thread safe logging module

2004-05-28 Thread Rajesh Dorairajan
Hello All, I am looking for a thread-safe Perl logging module to log output from a Multi-threaded Perl Application. When I tried to write to a log file using simple redirection, the threads contest for the log file. Creating a log file for each thread creates a bunch of log files in my machine. Is

Perl/TK hang on windows ?

2004-05-28 Thread Peter
Hi, I have a Perl/Tk program that seems to hang in the following way. I have narrowed it down to the following situation, so it is not the real code I have. In a subroutine that handles button click event, I have an infinite loop with a sleep 60 in it and nothing else. When this button is clicked,

max number of data within an array

2004-05-28 Thread Boon Chong Ang
Hi, May I know what is the maximum number of data that I can stored within an array? It seems that if the number of data exist 265, then it will be miss already or it is due to memory problem? Thank you & best regards, ABC