In RT REST code, what is coke?

my ($c, $o, $k, $e) = ("", [], {}, “”);

It would be easier to understand if the short variable names
where explained at least once! :slight_smile:

-Todd

my ($c, $o, $k, $e) = (“”, , {}, “”);

It would be easier to understand if the short variable names
where explained at least once! :slight_smile:

Sure would. (Since I spent about an hour beating my head against it a
few weeks ago when I was cleaning up some of the CLI.

            my ($notes, $order, $key_values, $errors) = @$result;

Is the best I was able to do.

I think it reflects the mood of the programer at the time of coding …
Roy

Todd Chapman wrote:

my ($c, $o, $k, $e) = (“”, , {}, “”);

It would be easier to understand if the short variable names
where explained at least once! :slight_smile:

Sure would. (Since I spent about an hour beating my head against it a
few weeks ago when I was cleaning up some of the CLI.

            my ($notes, $order, $key_values, $errors) = @$result;

Is the best I was able to do.

Are there no tests for bin/rt ?

What is your preferred method for debugging REST code?

my ($c, $o, $k, $e) = (“”, , {}, “”);

It would be easier to understand if the short variable names
where explained at least once! :slight_smile:

Sure would. (Since I spent about an hour beating my head against it a
few weeks ago when I was cleaning up some of the CLI.

            my ($notes, $order, $key_values, $errors) = @$result;

Is the best I was able to do.

Are there no tests for bin/rt ?

Tons, in 3.6. Have a look.