syn region dosiniSection start="^\[" end="\(\n*\[\)\@=" fold
and voila!
sub deliver_emails_for_products_and_section_types_for_users_that_have_not_already_r
e ceived_email {
...
}
(any errant spaces in that sub name were inserted by slashcode...)
sub get_time_stamp_in_format_yyyy_mm_dd_hh_mi_ss {
my $time_val = $_[0];
my $err_msg_ref = $_[1];
my $date;
my $day;
my $fatal_msg;
my $file;
my $hasargs;
my $hour;
my $line;
my $min;
my $mon;
my $msg;
my $pack;
my $ref;
my $sec;
my $subname;
my $subroutine_name;
my @time_attrs;
my $time_str;
my $want_array;
my $year;
$want_array = wantarray;
$subroutine_name = 'get_time_stamp_in_format_yyyy_mm_dd_hh_mi_ss';
if (ref $err_msg_ref eq 'SCALAR') {
$$err_msg_ref = undef;
} else {
$err_msg_ref = undef;
}
if (! defined $want_array) {
if ($err_msg_ref) {
($pack, $file, $line, $subname, $hasargs) = caller 1;
$msg = $pack.'::'.$subname.' ('.$line.') : The method '.
(PACKAGE_NAME).'::'.$subroutine_name.' called in '.
'void context. It makes no sense to call this '.
'method in void context.';
$$err_msg_ref = $msg;
}
return;
}
if (! defined $time_val) {
$time_val = time;
}
eval {
@time_attrs = localtime $time_val;
};
$fatal_msg = $@;
if ($fatal_msg) {
if ($err_msg_ref) {
$$err_msg_ref = $fatal_msg;
}
if ($want_array) {
return ();
} else {
return undef;
}
} elsif (!@time_attrs) {
if ($err_msg_ref) {
($pack, $file, $line, $subname, $hasargs) = caller 0;
$msg = $pack.'::'.$subname.' ('.$line.') : Call to localtime '.
'failed to retrieve the second, minute, hour, day, '.
'month, and year given the value '.$time_val.'.';
$$err_msg_ref = $msg;
if ($want_array) {
return ();
} else {
return undef;
}
}
}
$sec = $time_attrs[0];
$min = $time_attrs[1];
$hour = $time_attrs[2];
$day = $time_attrs[3];
$mon = $time_attrs[4];
$year = $time_attrs[5];
$mon++;
$year += 1900;
foreach $ref (\$sec, \$min, \$hour, \$day, \$mon) {
if (($$ref >= 0) && ($$ref < 10)) {
$$ref = '0'.$$ref;
}
}
$date = $year.'-'.$mon.'-'.$day;
$time_str = $hour.':'.$min.':'.$sec;
if ($want_array) {
return ($date, $time_str);
} else {
return $date;
}
}
Mommy!
Question: an interrogative expression often used to test knowledge; an interrogative sentence or clause
Doubt: uncertainty of belief or opinion that often interferes with decision-making; a deliberate suspension of judgment
OK, Thanks!
Repeat ad nauseam.
The amount of information available to us is literally exploding,
...
This abysmal textbook is literally giving me a headache.
For the most part I've been treated well by "Joy of Cooking", but until tonight their divinity recipe (pages 731-2 in my paperback edition) has eluded me. Mom used to make it every year for Christmas, and I haven't had it since a loooong time ago.
After a little experimenting I was able to adapt the JOC recipe into something that made divinity like Mom used to make. Here goes.
Divinity
Materials
Instructions
Nutrition
So we're talking about 60 calories per item here.
I am very psyched to be chosen to be an election judge again this year, and proud of my state and county for using a decent (i.e. hand-recountable paper trail) ballot system. None of this electronic ballot malarkey. I'll be working the primary and general elections, and we just had training this week.
One addition this year (due to HAVA) is the new AutoMARK machine, which makes ballot marking more accessible. It has braille, audio, touchscreen with magnify/high-contrast, and "puff" interfaces for those with limited mobility. I'll probably use it to mark up my own ballot just so I get a chance to play with it.
One thing I really enjoy about being a judge is that I get to meet a lot of the people who live in my neighborhood. We had something like 90% voter turnout last year, so I had at least an opportunity to talk to most of the adults (any many of the kids) in my area.