Sponsored Content
Full Discussion: C
Top Forums Programming C Post 7660 by loadc on Friday 28th of September 2001 10:59:15 PM
Old 09-28-2001
No need to get THAT out of hand....

Flashing back a bit here,

A friend of mine used to have this nasty (Honeywell??) system that they had to program in octal, he relives that painful time in his life quite often, for the benefit of those around him, to remind us how "good" we have it with such languages as C, c++ and perl, to name a few.


But I wax rhapsodic,


later,


loadc
 
Date::Language::Bulgarian(3)				User Contributed Perl Documentation			      Date::Language::Bulgarian(3)

NAME
Date::Language::Bulgarian - localization for Date::Format DESCRIPTION
This is Bulgarian localization for Date::Format. It is important to note that this module source code is in utf8. All strings which it outputs are in utf8, so it is safe to use it currently only with English. You are left alone to try and convert the output when using different Date::Language::* in the same application. This should be addresed in the future. SYNOPSIS
use strict; use warnings; use Date::Language; local $=$/; my $template ='%a %b %e %T %Y (%Y-%m-%d %H:%M:%S)'; my $time=1290883821; #or just use time(); my @lt = localtime($time); my %languages = qw(English GMT German EEST Bulgarian EET); binmode(select,':utf8'); foreach my $l(keys %languages){ my $lang = Date::Language->new($l); my $zone = $languages{$l}; print $/. "$l $zone"; print $lang->time2str($template, $time); print $lang->time2str($template, $time, $zone); print $lang->strftime($template, @lt); } AUTHOR
Krasimir Berov (berov@cpan.org) COPYRIGHT
Copyright (c) 2010 Krasimir Berov. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.18.2 2010-12-14 Date::Language::Bulgarian(3)
All times are GMT -4. The time now is 03:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy