NAME

SYNOPSIS

DESCRIPTION

METHODS

arg_encode

JSON encoding for parameters submitted to the API.

home

User's home directory. Broken out so you can override it if you want.

debug

Outputs debugging print if the environment variable APP_TOODLEDO_DEBUG is set.

toodledo_encode

Munge strings according to http://api.toodledo.com/2/tasks/index.php: "please encode the & character as %26 and the ; character as %3B."

toodledo_decode

Reverse of toodledo_encode.

preferred_date_format( $index, $time )

Outputs a date in the Toodledo user's preferred format: 0=M D, Y, 1=M/D/Y, 2=D/M/Y, 3=Y-M-D. This is the $time is an epoch time and $index is between 0 and 3.

AUTHOR

Peter Scott cpan at psdt.com