It appears that Date::Manip is not in your Perl's search path.  Solve this by

1) use "/usr/local/lib/perl5/site_perl/Date/Manip.pm";  (substitue with
actual path)

or

2) use lib '/usr/local/lib/perl5/site_perl/';
   use Date::Manip;




At 04:14 AM 02/06/2001 +0530, Kiran Kumar M wrote:
>
>Yes, I installed it.. but it is the same...
>
>Undefined subroutine &main::UnixDate called at test5 line 3.
>
>
>Thanks,
>Kiran
>
>On Mon, 5 Feb 2001, Anna Fong wrote:
>
>> use Date::Manip;
>> 
>> 
>> At 04:04 AM 02/06/2001 +0530, Kiran Kumar M wrote:
>> >
>> >Where are the functions UnixDate, DateCalc. 
>> >
>> >Thanks,
>> >Kiran
>> >
>> >On Mon, 5 Feb 2001, Anna Fong wrote:
>> >
>> >> Try this:
>> >> --------
>> >> 
>> >> $old_date = &UnixDate("today", "%E of %b %Y");
>> >> $new_date = &DateCalc("$old_date","+10days");
>> >> $new_date = &UnixDate("$new_date", "%E of %b %Y");
>> >> 
>> >> 
>> >> HTH,
>> >> Anna
>> >> 
>> >> 
>> >> 
>> >> At 03:43 AM 02/06/2001 +0530, Kiran Kumar M wrote:
>> >> >
>> >> >
>> >> >Hi,
>> >> >
>> >> >How can I get the Date + some days (for example 6th of Feb 2001 + 10
>> >> >should give 16th of Feb 2001...). How can I achieve this. I installed
>> >> >Date::calc perl module...
>> >> >
>> >> >Thanks,
>> >> >Kiran

--------------------------------------------------------

Anna Q. Fong, Webmaster 
California Data Exchange Center 

Reply via email to