Re: Date-DayOfWeek

2001-05-27 Thread Graham Barr

Um, If you have the date as a time value (There are several parsers out there to
do this) You can do (localtime($time))[6] to get the day of the week

Graham.

On Sun, May 27, 2001 at 12:02:51AM -0400, Rich Bowen wrote:
> In preparation for my talk at YAPC, I was trying to figure out what day of the
> week a given date was on, and could not find a simple module to do this. Yes,
> I'm sure Date::Manip does it somewhere in there. It does anything. But I was
> looking for something a little more lightweight and easy to talk about.
> 
> I just uploaded Date-DayOfWeek, which contains Date::DayOfWeek and
> Date::Doomsday, which calculate the day of the week of any given date, and the
> doomsday of any given year, respectively.
> 
> doomsday is an idea invented by Dr John Conway, which makes it really easy to
> figure out the day of the week of any date, by calculating a doomsday - a
> particular day of the week - which is somehow "special" in a particular year.
> 
> More information at http://www.interlog.com/~r937/doomsday.html in case you
> care.
> 
> I uploaded Date::Doomsday earlier this evening, but will probably be removing
> it here shortly, since it is included in this other distribution.
> 
> -- 
> Rich Bowen - [EMAIL PROTECTED]
> As we trace our own few circles around the sun
> We get it backwards and our seven years go by like one
>   Dog Years (Rush - Test for Echo - 1999)
> 
> 



Re: Date-DayOfWeek

2001-05-27 Thread Rich Bowen


On Sun, 27 May 2001 10:02:06 +0100, Graham Barr said:

> Um, If you have the date as a time value (There are several parsers out there to
>  do this) You can do (localtime($time))[6] to get the day of the week

Sure, if you want to limit yourself to the range 1970 - 2038, which is hardly
the most interesting range, historically speaking.

>  
>  Graham.
>  
>  On Sun, May 27, 2001 at 12:02:51AM -0400, Rich Bowen wrote:
>  > In preparation for my talk at YAPC, I was trying to figure out what day of the
>  > week a given date was on, and could not find a simple module to do this. Yes,
>  > I'm sure Date::Manip does it somewhere in there. It does anything. But I was
>  > looking for something a little more lightweight and easy to talk about.
>  > 
>  > I just uploaded Date-DayOfWeek, which contains Date::DayOfWeek and
>  > Date::Doomsday, which calculate the day of the week of any given date, and the
>  > doomsday of any given year, respectively.
>  > 
>  > doomsday is an idea invented by Dr John Conway, which makes it really easy to
>  > figure out the day of the week of any date, by calculating a doomsday - a
>  > particular day of the week - which is somehow "special" in a particular year.
>  > 
>  > More information at http://www.interlog.com/~r937/doomsday.html in case you
>  > care.
>  > 
>  > I uploaded Date::Doomsday earlier this evening, but will probably be removing
>  > it here shortly, since it is included in this other distribution.
>  > 
>  > -- 
>  > Rich Bowen - [EMAIL PROTECTED]
>  > As we trace our own few circles around the sun
>  > We get it backwards and our seven years go by like one
>  >Dog Years (Rush - Test for Echo - 1999)
>  > 
>  > 
>  
>  

-- 
Rich Bowen - [EMAIL PROTECTED]
Have trouble remembering things?
http://www.idforgetmyhead.com/





PAUSE registration

2001-05-27 Thread Alexey V. Presnyakov

Hello!

I want to be registered as module developer.
NAME: Alexey Presnyakov
EMAIL: [EMAIL PROTECTED]
HOMEPAGE: will be available later
PREFFERED USERID: avp
DESCRIPTION: I have written Template Engine in Perl. It's rewrite of
very usable Xtpl engine to Perl. Now I have:
plain Perl,
plain PHP,
PHP - C Engine.
Today I want to contribute Perl version of Engine to CPAN.
But I plan to made XS (C) version of engine (for better
perfomance). So I want to make this standart for Web-
deelopment. :-)

--
  Alexey Presnyakov ([EMAIL PROTECTED])
  system administrator of Renet Com.
   +7 8452 450450, 732207



Module submission Date::Discordian

2001-05-27 Thread Perl Authors Upload Server


The following module was proposed for inclusion in the Module List:

  modid:   Date::Discordian
  DSLIP:   Rdpfp
  description: Calculate dates in the Discordian calendar
  userid:  RBOW (Rich Bowen)
  chapterid:6 (Data_Type_Utilities)
  communities:

  similar:

  rationale:

Much like Date::Tolkien::Shire, this is for the purposes of
calculations in a fictional calendar. It is mathematically
interesting.

  enteredby:   RBOW (Rich Bowen)
  enteredon:   Sun May 27 19:47:48 2001 GMT

The resulting entry would be:

Date::
::Discordian  Rdpfp Calculate dates in the Discordian calendar   RBOW


Thanks for registering,
The Pause Team

PS: The following links are only valid for module list maintainers:

Registration form with editing capabilities:
  
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=3900_aec35aec20e978be&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
  
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=3900_aec35aec20e978be&SUBMIT_pause99_add_mod_insertit=1



Module submission Date::DayOfWeek

2001-05-27 Thread Perl Authors Upload Server


The following module was proposed for inclusion in the Module List:

  modid:   Date::DayOfWeek
  DSLIP:   Rdpfp
  description: Calculate day of week for Gregorian dates
  userid:  RBOW (Rich Bowen)
  chapterid:6 (Data_Type_Utilities)
  communities:

  similar:
Date::Manip, Date::Christmas, Date::Easter

  rationale:

A very lightweight module for calculating the day of the week for
any date after the change to the Gregorian calendar. This uses the
'doomsday' approach, invented by John Conway. It is mathematically
interesting, and offers the functionality in a few dozen lines,
rather than the weight of using Date::Manip or similar.

  enteredby:   RBOW (Rich Bowen)
  enteredon:   Sun May 27 19:50:47 2001 GMT

The resulting entry would be:

Date::
::DayOfWeek   Rdpfp Calculate day of week for Gregorian datesRBOW


Thanks for registering,
The Pause Team

PS: The following links are only valid for module list maintainers:

Registration form with editing capabilities:
  
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=4900_2101390edb103726&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
  
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=4900_2101390edb103726&SUBMIT_pause99_add_mod_insertit=1



Module submission Date::Easter

2001-05-27 Thread Perl Authors Upload Server


The following module was proposed for inclusion in the Module List:

  modid:   Date::Easter
  DSLIP:   Rdpfp
  description: Calculate the date of Easter
  userid:  RBOW (Rich Bowen)
  chapterid:6 (Data_Type_Utilities)
  communities:

  similar:
Date::Christmas

  rationale:

Using a fairly standard algorithm (see the Date FAQ) calculates the
date of easter, in either the Gregorian or Julian calendar, for any
given year.

  enteredby:   RBOW (Rich Bowen)
  enteredon:   Sun May 27 19:52:17 2001 GMT

The resulting entry would be:

Date::
::Easter  Rdpfp Calculate the date of Easter RBOW


Thanks for registering,
The Pause Team

PS: The following links are only valid for module list maintainers:

Registration form with editing capabilities:
  
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=5900_cfe78e40ece0cb81&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
  
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=5900_cfe78e40ece0cb81&SUBMIT_pause99_add_mod_insertit=1



Module submission Date::ISO

2001-05-27 Thread Perl Authors Upload Server


The following module was proposed for inclusion in the Module List:

  modid:   Date::ISO
  DSLIP:   Rdpfp
  description: Calculate dates in the ISO calendar
  userid:  RBOW (Rich Bowen)
  chapterid:6 (Data_Type_Utilities)
  communities:

  similar:
Date::Discordian

  rationale:

The ISO calendar is a quasi "standard" way to express dates. This
module converts between ISO dates and gregorian or epoch dates.

  enteredby:   RBOW (Rich Bowen)
  enteredon:   Sun May 27 19:55:12 2001 GMT

The resulting entry would be:

Date::
::ISO Rdpfp Calculate dates in the ISO calendar  RBOW


Thanks for registering,
The Pause Team

PS: The following links are only valid for module list maintainers:

Registration form with editing capabilities:
  
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=6900_725b8e81063cd18b&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
  
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=6900_725b8e81063cd18b&SUBMIT_pause99_add_mod_insertit=1



Re: cpan / gtkperl madness

2001-05-27 Thread Andreas J. Koenig

> On Sun, 27 May 2001 15:26:49 -0400 (EDT), Matt Cashner <[EMAIL PROTECTED]> said:

  > got a cpan problem for you. there are now two gtkperl distributions with
  > two different maintainers. K/KJ/KJALB/Gtk-Perl-0.7000.tar.gz and
  > L/LU/LUPUS/Gtk-Perl-0.7006.tar.gz.  - 0.7006 claims to deprecate all other
  > versions. the problem is that 'install Gtk' gets you 0.7000, but if you
  > try and install one of the other Gtk modules, you can get either 0.7000 or
  > 0.7006.

Well, CPAN does not allow takeover of namespaces without
communication.

I believe Ken is unreachable. Can I get some kind of approval that the
takeover of maintainance is coordinated? Paolo, what's the status of
the takeover. Is it intended to be permanent or temporary?

Thanks,
-- 
andreas



Module update for Pod::Tree

2001-05-27 Thread Perl Authors Upload Server

Record update in the PAUSE modules database:

   modid: [Pod::Tree]
   statd: [R]
   stats: [d]
   statl: [p]
   stati: [O]
   statp: [p] was [?]
 description: [Create a static syntax tree for a POD]
  userid: [SWMCD]
   chapterid: [ 2]
mlstatus: [list]

Data entered by Steven McDougall (SWMCD).
Please check if they are correct.

The Pause



Module update for News::Newsrc

2001-05-27 Thread Perl Authors Upload Server

Record update in the PAUSE modules database:

   modid: [News::Newsrc]
   statd: [R] was [a]
   stats: [d]
   statl: [p]
   stati: [O]
   statp: [p] was [?]
 description: [Manage .newsrc files]
  userid: [SWMCD]
   chapterid: [19]
mlstatus: [list]

Data entered by Steven McDougall (SWMCD).
Please check if they are correct.

The Pause



Module update for Set::IntSpan

2001-05-27 Thread Perl Authors Upload Server

Record update in the PAUSE modules database:

   modid: [Set::IntSpan]
   statd: [R] was [a]
   stats: [d]
   statl: [p]
   stati: [O]
   statp: [p] was [?]
 description: [Set of integers newsrc style '1,5-9,11' etc]
  userid: [SWMCD]
   chapterid: [ 6]
mlstatus: [list]

Data entered by Steven McDougall (SWMCD).
Please check if they are correct.

The Pause



Module update for Set::Window

2001-05-27 Thread Perl Authors Upload Server

Record update in the PAUSE modules database:

   modid: [Set::Window]
   statd: [R] was [b]
   stats: [d]
   statl: [p]
   stati: [O]
   statp: [p] was [?]
 description: [Manages an interval on the integer line]
  userid: [SWMCD]
   chapterid: [ 6]
mlstatus: [list]

Data entered by Steven McDougall (SWMCD).
Please check if they are correct.

The Pause



usage of perl modules?!

2001-05-27 Thread bhuvanbk

hello sirs,

 We had done our own simple modules. We too are 
equipped with CGI modules. But infact, we doesn't know
the way to use the same. Is there any source to find
the description of its usage? Please let us know.

Thankx in advance.