



JSON encoding for parameters submitted to the API.
User's home directory. Broken out so you can override it if you want.
Outputs debugging print if the environment variable APP_TOODLEDO_DEBUG is set.
Munge strings according to http://api.toodledo.com/2/tasks/index.php: "please encode the & character as %26 and the ; character as %3B."
Reverse of toodledo_encode.
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.

Peter Scott cpan at psdt.com