Re: Benchmark::cmpthese

2005-08-24 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > > Gentle Readers, > > I'm having some trouble interpreting results returned by running > timethese and cmpthese on a pair of code snippets I want to test. What's > happening is that for six or seven runs of the program, one chunk of > code comes up 20-30 percent faster

Re: Net::FTP

2005-08-24 Thread $Bill Luebkert
Ken Barker wrote: > I am using Net:FTP:Common - the documentation indicates that the default send > is Binary - yet with debug turned on it shows ASCII. I am unsure of how to > change this. Can someone provide a line of code to illustrate a force to > Binary. > > All help is appreciated. Do

Re: Sharing Variables among Processes...

2005-08-24 Thread pDale
On 8/24/05, Gregg Morrison <[EMAIL PROTECTED]> wrote: > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Arijit > > Das > > Sent: 24 August 2005 16:42 > > To: activeperl@listserv.ActiveState.com; > > perl-unix-users@listserv.ActiveState.com > > Subject: Sharing Variables among P

RE: Sharing Variables among Processes...

2005-08-24 Thread Arms, Mike
Gregg Morrison wrote: >> Arijit Das wrote: >> Its about sharing a Perl Variable among parent and child processes. > > Have you considered using a Global Environment variable? > It is fast, transparent and is read/write by any process on the system. > (I have not tried this in Perl, but I've used

Re: Win32::ODBC -- is the DSN a server or DB or table?

2005-08-24 Thread Américo Albuquerque
Hello A DSN is an alias to a connection configuration. The configuration itself is saved on your PC in the ODBC data sources under administrative tools. To be able to use DSN=Bob you have to check if the data source 'Bob' exists (by checking the DSN System tab in the ODBC Data Source. It must have

Re: Sharing Variables among Processes...

2005-08-24 Thread Gregg Morrison
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Arijit > Das > Sent: 24 August 2005 16:42 > To: activeperl@listserv.ActiveState.com; > perl-unix-users@listserv.ActiveState.com > Subject: Sharing Variables among Processes... > > > Its about sharing a Perl Variable among parent a

Re: Sharing Variables among Processes...

2005-08-24 Thread David Nicol
On 8/24/05, Brian Raven <[EMAIL PROTECTED]> wrote: > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Arijit > Das > Sent: 24 August 2005 16:42 > To: activeperl@listserv.ActiveState.com; > perl-unix-users@listserv.ActiveState.com > Subject: Sharing Va

RE: Benchmark::cmpthese

2005-08-24 Thread Brian Raven
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 24 August 2005 16:02 To: activeperl@listserv.ActiveState.com Subject: Benchmark::cmpthese Gentle Readers, I'm having some trouble inter

RE: Sharing Variables among Processes...

2005-08-24 Thread Brian Raven
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arijit Das Sent: 24 August 2005 16:42 To: activeperl@listserv.ActiveState.com; perl-unix-users@listserv.ActiveState.com Subject: Sharing Variables among Processes... Its about sh

RE: :FTP

2005-08-24 Thread Brian Raven
[EMAIL PROTECTED] wrote: > I am using Net:FTP:Common - the documentation indicates that > the default send is Binary - yet with debug turned on it > shows ASCII. I am unsure of how to change this. Can someone > provide a line of code to illustrate a force to Binary. Although it doesn't say expli

Sharing Variables among Processes...

2005-08-24 Thread Arijit Das
Its about sharing a Perl Variable among parent and child processes.   Do you know of any design pattern or technique by which this can be achieved?   What I want is this...   $shared_var = 10;   if ($pid = fork) {     sleep 10;     print "$shared_var\n"; # Should show the child's changes... } elsif

Benchmark::cmpthese

2005-08-24 Thread Deane . Rothenmaier
Gentle Readers, I'm having some trouble interpreting results returned by running timethese and cmpthese on a pair of code snippets I want to test. What's happening is that for six or seven runs of the program, one chunk of code comes up 20-30 percent faster, on the next six or seven runs, it's th

Re: Welcome to the "ActivePerl" mailing list

2005-08-24 Thread Dragos
Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.Act

Net::FTP

2005-08-24 Thread Ken Barker
I am using Net:FTP:Common - the documentation indicates that the default send is Binary - yet with debug turned on it shows ASCII. I am unsure of how to change this. Can someone provide a line of code to illustrate a force to Binary. All help is appreciated. Ken Barker IT Lead Americall Gr

help - active perl runs liks a dog on w2k

2005-08-24 Thread David Burdon
Hi, I currently running activeperl on both XP and W2k but on the W2K machine it runs very slowly. I've checked with task manager and perl.exe is using <5% of CPU time when on the XP box the same script would use as much as possible eg 85%. Any ideas on why this is happening only on the W2K box?