in reply to REST::Client POST error

partner => ‘dfjkdjfdkdjkdkdjfdk’,

Note that this statement uses  ‘ ’ "stupid" quotes that are not recognized by the Perl intepreter (at least not by any one I'm familiar with). Please use  ' single- and  " double-quotes only.


Give a man a fish:  <%-{-{-{-<

Replies are listed 'Best First'.
Re^2: REST::Client POST error
by sannag (Sexton) on Aug 31, 2017 at 14:32 UTC
    I converted the hash to array and used substr as recommend by huck....that fixed it.

      Usually, when "smart" | "stupid" quotes appear in posted code, it's a sign that the poster is using some kind of word-processing editor. These editors try to "help" the user by quietly pairing up all their quotes into balanced pairs of "smart" quotes. If you're programming, do yourself a favor and use a programmer's editor. (Such editors use the Humpty-Dumpty theory of language: "When I use a word," Humpty Dumpty said, in rather a scornful tone, "it means just what I choose it to mean — neither more nor less." :)

      Note: A good editor is often considered to be a part of a good IDE (Integrated Development Environment, or something like that). Maybe see this for some leads here.


      Give a man a fish:  <%-{-{-{-<