Ask a Question related to PERL Miscellaneous, Design and Development.
-
Sam #1
locatime()
hello
I have a date array, I need to identify those dates which are Saturdays and
Sundays. I think part of my problem is that I don't know how to search the
documentations that came with perl5.6 in my Linux box. so I you could give
some direction on how to do that tasks I am grateful
thanks
Sam Guest
-
James E Keenan #2
Re: locatime()
"Sam" <samj@austarmetro.com.au> wrote in message
news:3f678512$1@news.comindico.com.au...and> hello
> I have a date array, I need to identify those dates which are SaturdaysInstall the Date::Calc module from CPAN and use something like the> Sundays.
Day_of_Week() function.
I think part of my problem is that I don't know how to search theperldoc -q date> documentations that came with perl5.6 in my Linux box. so I you could give
> some direction on how to do that tasks I am grateful
>
# but since Date::Calc is not standard, this won't answer your specific
question. Nonetheless, this is the general approach for querying the docs.
James E Keenan Guest
-
Tom #3
Re: locatime()
"Sam" <samj@austarmetro.com.au> wrote in message news:<3f678512$1@news.comindico.com.au>...
Reference book such as Programming Perl is a good alternate source of> hello
> I have a date array, I need to identify those dates which are Saturdays and
> Sundays. I think part of my problem is that I don't know how to search the
> documentations that came with perl5.6 in my Linux box. so I you could give
> some direction on how to do that tasks I am grateful
>
> thanks
getting the type of information that you're looking for. For instance,
if you look up localtime() you would see an example of getting the day
of the week from the function like this:
$thisday = (Sun,Mon,Tue,Wed,Thu,Fri,Sat)[(localtime)[6]];
Although books are not cheap, but they may include information that
might be valuable and they are portable and require no AC or battery
to operate.
Tom
ztml.com
Tom Guest
-
David H. Adler #4
Re: locatime()
In article <59b4279a.0309170319.d188a7e@posting.google.com> , Tom wrote:
As long as you keep in mind that it's an *alternate* source. The books>
> Reference book such as Programming Perl is a good alternate source of
> getting the type of information that you're looking for.
are not the definitive documentation, and are often out of date. I
think the last edition of PP covers 5.6.0 (certainly no later than
5.6.1).
dha
--
David H. Adler - <dha@panix.com> - [url]http://www.panix.com/~dha/[/url]
It's about hoodwinking the viewer in the cheapest and easiest manner
possible - Markku Pätilä
David H. Adler Guest



Reply With Quote

