Code Comments
Programming Forum and web based access to our favorite programming groups.Hey guys, I am newbie to perl. I am trying to deal with dates ( such trying to find what the date would be after month). Is therea function or date class( I am a java programmer, I couldnt find the right word instead of class) to do the job? Thanks for any help.
Post Follow-up to this message"Firewalker" <hana1@rogers.com> wrote: > I am newbie to perl. I am trying to deal with dates ( such > trying to find what the date would be after month). Is therea > function or date class( I am a java programmer, I couldnt find > the right word instead of class) to do the job? There are lots of modules for this -- in fact there are too many. As a place to start, look at Date::Manip: perldoc Date::Manip Peter -- #!/local/bin/perl5 -wp -*- mode: cperl; coding: iso-8859-1; -*- # matlab comment stripper (strips comments from Matlab m-files) s/^((?:(?:[])}\w.]'+|[^'%])+|'[^'\n]*(?:''[^'\n]*)*')*).*/$1/x;
Post Follow-up to this messageOn Mon, 27 Sep 2004 23:54:42 -0400, Firewalker wrote: > Hey guys, > I am newbie to perl. I am trying to deal with dates ( such trying to find > what the date would be after month). Is therea function or date class( I am > a java programmer, I couldnt find the right word instead of class) to do t he > job? Use one or more of the the modules from the Perl DateTime project (http://datetime.perl.org/). Dave...
Post Follow-up to this messagePerl has a module you can download to handle things like that. "Firewalker" <hana1@rogers.com> wrote in message news:_Pednb5BxJIcfcXcRVn-gw@rogers.com... > Hey guys, > I am newbie to perl. I am trying to deal with dates ( such trying to find > what the date would be after month). Is therea function or date class( I > am a java programmer, I couldnt find the right word instead of class) to > do the job? > Thanks for any help. >
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.