in reply to Using the HTTP::Request and Verifying Results

To elaborate on the above answer, the fat comma, =>, operator is a special quoting operator that perl has. It functions basically as a comma execept that, if the left hand side is a bareword, it is treated a string. content-type is two barewords and an operator, so bareword immediately to the left of the =>, type, is treated a string, then it evalutes the operator, -, and the second bareword, content.

Replies are listed 'Best First'.
Re: Using the HTTP::Request and Verifying Results
by thdrought (Initiate) on Oct 12, 2004 at 10:20 UTC
    That worked. Thank you. But, how could I pass that back to myself so I could view the information it's sending. Would I have to create a Daemon, or is it easier than that?

    Tom
      print $req->as_string;
      show your request's content.
      Boris