Re: Can the Perl module Date::Calc be added to Cygwin please?

2016-02-28 Thread Bob Goolsby
Mornin' -- You will need to direct the request to the Cygwin Project ( https://www.cygwin.com/ ). B On Sun, Feb 28, 2016 at 4:22 PM, Kenneth Wolcott wrote: > Hi; > > Can the Perl module Date::Calc be added to Cygwin please? > > Thanks, > Ken Wolcott > >

Can the Perl module Date::Calc be added to Cygwin please?

2016-02-28 Thread Kenneth Wolcott
Hi; Can the Perl module Date::Calc be added to Cygwin please? Thanks, Ken Wolcott -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Date::CalC

2009-03-06 Thread Bobby
That works, thanks a lot for your help and suggestions guys!   Awsome! Have a great weekend all! --- On Fri, 3/6/09, Ryan Masters wrote: From: Ryan Masters Subject: Re: Date::CalC To: cybercruis...@yahoo.com Date: Friday, March 6, 2009, 5:28 PM Bobby, On Fri, Mar 6, 2009 at 5:45 PM, Bobby

Re: Date::CalC

2009-03-06 Thread Owen
> then set $new_item=" True". Not sure why it's not doing that, I think > the it's not evaluating the if statement. I do have Date::CalC > installed. Thanks. > > "if (my ($year1,$month1,$day1) = Decode_Date_US($mmddyyy))". > > > #!/us

Re: Date::CalC

2009-03-06 Thread Bobby
Correction, $publish_date should equals = "03/02/2009 12:32:03 PM" not 01/02/2009. my $publish_date = "03/02/2009 12:32:03 PM"; --- On Fri, 3/6/09, Bobby wrote: > From: Bobby > Subject: Date::CalC > To: beginners@perl.org > Date: Friday, March 6, 2009, 3

Date::CalC

2009-03-06 Thread Bobby
hat, I think the it's not evaluating the if statement. I do have Date::CalC installed. Thanks. "if (my ($year1,$month1,$day1) = Decode_Date_US($mmddyyy))". #!/usr/bin/perl use strict; use warnings; sub NewProducts { use Time::localtime; use Time::Local; use Date::Calc qw(:a

Re: Installing Date::Calc

2007-12-05 Thread Eko Budiharto
It is strange that C compiler does not include in the first time installation. I installed solaris 8 and Fedora, red hat, I always get C compiler when I installed the OS and I rarely does not get C compiler. Only last time, I installed Date::Calc in my FC6 machine, it was asked the newest GCC

Re: Installing Date::Calc

2007-12-05 Thread Tom Phoenix
On 12/5/07, Gerald Wheeler <[EMAIL PROTECTED]> wrote: > Installing GCC on the box would be a major problem and one > that I would rather not get into. Having a C compiler would probably make your life easier in the long run. And, unless you've got a seriously weird box, installing GCC is pr

Re: Installing Date::Calc

2007-12-05 Thread Gerald Wheeler
wrote: > It appears that installing the prerequisites for Date::Calc > (Bit::Vector) requires a C compiler. > > Is there any way to install Date::Calc (and it's prerequisites) when > one does not have the capability to compile the module? > > Are precompiled modules for Solari

Re: Installing Date::Calc

2007-12-04 Thread Peter Scott
On Mon, 03 Dec 2007 11:40:16 -0700, Gerald Wheeler wrote: > It appears that installing the prerequisites for Date::Calc > (Bit::Vector) requires a C compiler. > > Is there any way to install Date::Calc (and it's prerequisites) when > one does not have the capability t

Installing Date::Calc

2007-12-03 Thread Gerald Wheeler
It appears that installing the prerequisites for Date::Calc (Bit::Vector) requires a C compiler. Is there any way to install Date::Calc (and it's prerequisites) when one does not have the capability to compile the module? Are precompiled modules for Solaris 10 SPARC available form some

Re: adding the date::calc module

2004-01-03 Thread Rob Dixon
Stuart White wrote: > > I've been told that I can add the date::calc module > from the command line using a one line command as > opposed to going to perl.org and compiling it. > Unfortunately though, I can't get into that email acct > where that email with instruction

Re: adding the date::calc module

2004-01-03 Thread Kenton Brede
On Sat, Jan 03, 2004 at 08:56:42AM -0800, Stuart White wrote: > I've been told that I can add the date::calc module > from the command line using a one line command as > opposed to going to perl.org and compiling it. > Unfortunately though, I can't get into that email acct &

adding the date::calc module

2004-01-03 Thread Stuart White
I've been told that I can add the date::calc module from the command line using a one line command as opposed to going to perl.org and compiling it. Unfortunately though, I can't get into that email acct where that email with instructions is stored. Does anyone know how I can insta

Date::Calc Module Error

2003-08-29 Thread Scott Burks
Can ayone assist in figuring this one out, please. I have just installed perl 5.6.1 on our hpux server. It went in fine. I then installed (from source) the new Date::Calc module and it went in fine without errors. BUT, when I run one of our scripts (perf) that uses the Date::Calc

Problem with making the Perl Module Date::Calc

2003-06-20 Thread Anand Babu
Well, per the INSTALL.txt in this module: Prerequisites: -- Perl version 5.000 or higher, and an ANSI C compiler. (!) ^^ If you plan to use the modules "Date::Calendar" or "Date::Calendar::Year" from this package, you will also need the module

Re: Problem with making the Perl Module Date::Calc

2003-06-20 Thread Janek Schleicher
Anand Babu wrote at Fri, 20 Jun 2003 12:32:22 -0700: > Warning: prerequisite Bit::Vector failed to load: Can't locate Bit/Vector.pm in Seeing this warning I would recommend you also to install the module Bit::Vector Greetings, Janek -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Problem with making the Perl Module Date::Calc

2003-06-20 Thread Anand Babu
I downloaded the Date::Calc perl module from cpan web site. The version is Date-Calc-5.3.tar.gz. I am having problems with making this module. I am using Cygwin and this application also contains a gcc compiler as well. I am using make from the bundle that came with Cygwin. Here is what I

Error using Date::Calc Module

2003-02-24 Thread JO TSOI
I managed to install the Date::Calc module successfully in the Solaris 2.7 sun-4 box, with Perl 5.6.1. However, I got the following error when tried to run a perl script using Date::Calc module, as follows, Date::Calc object version 5.3 does not match bootstrap parameter 4.3 at /usr/local/lib

RE: Problem With Make on Solaris 8 (Date-Calc-5.0)

2002-02-20 Thread Mark Richmond
oblem With Make on Solaris 8 (Date-Calc-5.0) > > > I received the following error while attempting to install > Date-Calc-5.0 on > Solaris 8. Date-Calc-4.3 behaves the same way. However, I'm > able to do a > make successfully of both packages on Solaris 2.5.1. gcc is

Re: Problem With Make on Solaris 8 (Date-Calc-5.0)

2002-02-20 Thread Elaine -HFB- Ashton
[EMAIL PROTECTED] [[EMAIL PROTECTED]] quoth: *>I received the following error while attempting to install Date-Calc-5.0 on *>Solaris 8. Date-Calc-4.3 behaves the same way. However, I'm able to do a *>make successfully of both packages on Solaris 2.5.1. gcc is installed on *>both

Problem With Make on Solaris 8 (Date-Calc-5.0)

2002-02-20 Thread clwong
I received the following error while attempting to install Date-Calc-5.0 on Solaris 8. Date-Calc-4.3 behaves the same way. However, I'm able to do a make successfully of both packages on Solaris 2.5.1. gcc is installed on both platforms. Could you please shed some light on what is causing

RE: Date::Calc date returned format

2002-02-07 Thread Bob Showalter
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 07, 2002 7:02 AM > To: [EMAIL PROTECTED] > Subject: Date::Calc date returned format > > > All, > using the following code under W2K Activestate v5.6

Date::Calc date returned format

2002-02-07 Thread patrick . kenneally
to return the date from the module in 2 digit year format. Thanks in advance, Patrick ** use Date::Calc qw( :all ); ($year, $month, $day) = Add_Delta_Days (Today, -20); printf "20 days ago, it was %02d%02d%d\n", $year, $month, $day; -- To unsubsc

Re: newbie: Date::Calc Question

2001-07-23 Thread Michael Fowler
On Mon, Jul 23, 2001 at 10:21:22PM -0500, Steve Howard wrote: > Actually, in reading that directory, you can use -M to find the age in days > of a file. This will be in decimal, so to get an integer age, use the int > function. Something like this: That's true, it is easier, and I'm not sure why

RE: newbie: Date::Calc Question

2001-07-23 Thread Steve Howard
like this: opendir (TEMP, "$ENV{TEMP}"); foreach (readdir TEMP){ $ddd = -M "$ENV{TEMP}/$_"; $ddd = int($ddd); print "$_ is $ddd old \n" if ($ddd >=7); } In that case, that's quite a bit easier than using Date::Calc. Steve H.

RE: newbie: Date::Calc Question

2001-07-23 Thread Steve Howard
In answer to the question, yes it can. This may not be the easiest way to do this, but doing it with Date::Calc, I would probably do something like this: # reading the directories in my temp directory # which is defined by an environment variable # and accessed as $ENV{TEMP} opendir (TEMP

Re: newbie: Date::Calc Question

2001-07-23 Thread Michael Fowler
On Mon, Jul 23, 2001 at 12:05:35PM -0700, Groove Salad wrote: > Is there a way using Date::Calc to determine all the files in a DIR that > have not been accessed or modified in the last xx number of days? I > thought it would also require the use of stat(). That's done easi

newbie: Date::Calc Question

2001-07-23 Thread Groove Salad
Hi, I've been reading the latest post regarding the Date::Calc module with great interest. My question is this: Is there a way using Date::Calc to determine all the files in a DIR that have not been accessed or modified in the last xx number of days? I thought it would also require th