use FindBin qw($Bin);

sub todoHandler
{
    $html = shift;
    my( @rValue ) = (); 

    open( OUT_FILE, ">> $zeddRoot_g/data/todo.db" );

    print OUT_FILE $html;
    print OUT_FILE "\n";
    
    close( OUT_FILE );

    open( IN_FILE, "$zeddRoot_g/data/todo.db" );

    while( <IN_FILE> )
    {	
	push @rValue, { 'item' => $_ };
    }
    close( IN_FILE );

    return @rValue;
}

1;

