Tk an Panther

2004-02-16 Thread Adriano Allora
Hi to all, maybe I'm out of topic: his one is more properly a shell programmming problem, but I have no idea about how to install pTk on my apple. I use iBook with Panther (shell: tcsh), I downloaded Tk804.025 beta 14 from cpan and I read the readme.darwin file, in which is written: For

Re: Tk an Panther

2004-02-16 Thread Sherm Pendley
On Feb 16, 2004, at 6:38 AM, Adriano Allora wrote: For Tk804.025 to build properly on Mac OS X 10.2 (Jaguar) or 10.3 (Panther), Perl must be built dynamic, rather that the default of static. The above is somewhat misleading. As of Perl 5.8.1, the default on Mac OS X *when building a new Perl* is

getting in between dates in a hash

2004-02-16 Thread Joseph Alotta
Greetings, I am having some conceptual problems doing what I think is a fairly simple perl task. It is probably that my mind is just blank on this. Could someone please recommend a strategy for this. I have a hash of data: %highest_level = ( 2001-10-14 = 152, 2002-01-15 = 163, 2003-03-13 =

Re: getting in between dates in a hash

2004-02-16 Thread David Cantrell
Joseph Alotta wrote: I have a hash of data: %highest_level = ( 2001-10-14 = 152, 2002-01-15 = 163, 2003-03-13 = 210, 2004-08-07 = 307 ); I think you mean: %highest_level = ( '2001-10-14' = 152, '2002-01-15' = 163, '2003-03-13' = 210, '2004-08-07' = 307 ); because otherwise the

Re: using CPAN to install Mac::Carbon

2004-02-16 Thread Chris Nandor
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Wren Argetlahm) wrote: In my efforts to get Perl5.8.3 all set up I tried installing Mac::Carbon via the CPAN shell. But it just enters a loop of running the test files (unless I don't do what the dialog boxes say, in which case the make

Re: getting in between dates in a hash

2004-02-16 Thread Joseph Alotta
[Abba:~/oldperlcode] josephal% perl /tmp/test 2002-01-15: 163 [Abba:~/oldperlcode] josephal% John, Thank you for looking at this. I will play around with this some more. I don't understand why you use the array index [0] and [1] in this code. But anyway, it doesn't work: [Abba:~/oldperlcode]

Re: getting in between dates in a hash

2004-02-16 Thread John Delacour
At 2:01 pm -0600 16/2/04, Joseph Alotta wrote: Am I missing something or is this harder than it first appears? I think you need either to quote the date string as below or use a number for the date, such as 20011014. If you use a number then you'll need to repalce ge, le with =, =

Re: getting in between dates in a hash

2004-02-16 Thread Jan Eden
Joseph Alotta wrote: Greetings, I am having some conceptual problems doing what I think is a fairly simple perl task. It is probably that my mind is just blank on this. Could someone please recommend a strategy for this. I have a hash of data: %highest_level = ( 2001-10-14 = 152,

installing DBD-mysql on Mac OS X server - already tried env fix in Config.pm

2004-02-16 Thread Jason F.B.
Mac OS X on Perl List, OK, I recently upgraded my own powerbook to Panther (10.3.2) and then a few weeks later I upgraded my server to OS X Server 10.3.2. After upgrading my regular Mac OS X to Panther the problem I had building DBD-mysql could be fixed by this email from Edward Moy. I went

Re: installing DBD-mysql on Mac OS X server - already tried env fix in Config.pm

2004-02-16 Thread Sherm Pendley
On Feb 16, 2004, at 5:19 PM, Jason F.B. wrote: Here is a clip from my terminal: -arch i386 How did *that* get in there??? sherm--

Re: installing DBD-mysql on Mac OS X server - already tried env fix in Config.pm

2004-02-16 Thread Jason F.B.
On Feb 16, 2004, at 5:19 PM, Jason F.B. wrote: Here is a clip from my terminal: -arch i386 How did *that* get in there??? sherm-- sherm, I have no idea how -arch386 got in there. Wait-- actually at one point I tried upgrading to Perl 5.8.2 and so consequently I have all these 5.8.2 build

Mac::Carbon install problem (Processes.t)

2004-02-16 Thread Salvatore Denaro
I am running 5.8.1 (apple built) on 10.3.2. The problem I am having is with Processes/t/Processes.t the log gives the following: Failed Test Stat Wstat Total Fail Failed List of Failed ---

Re: Mac::Carbon install problem (Processes.t)

2004-02-16 Thread Rick Measham
There are others who will certainly know better than I do, however let me ask, are you running CPAN with: sudo /full/path/to/perl -MCPAN -e shell If you don't use sudo (or su to root if you have it enabled) then there will be problems with installs, and if you have your own perl installed