HTTP::Request Hash

Discussion in 'Perl' started by Dekaritae, Oct 19, 2004.

  1. Dekaritae

    Dekaritae Guest

    I have
    $request = $ua->get("$uri", ":content_file" => "$file");

    which returns a value of something like "HTTP::Response=HASH(0x24a3328)"
    for $request. How do I get the HTTP response code out of that?
     
    Dekaritae, Oct 19, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brian Birtle
    Replies:
    2
    Views:
    2,132
    John Saunders
    Oct 16, 2003
  2. nRk
    Replies:
    1
    Views:
    1,025
    Steven D'Aprano
    Feb 12, 2009
  3. rp
    Replies:
    1
    Views:
    561
    red floyd
    Nov 10, 2011
  4. Srijayanth Sridhar
    Replies:
    19
    Views:
    655
    David A. Black
    Jul 2, 2008
  5. Gelonida N
    Replies:
    0
    Views:
    545
    Gelonida N
    Feb 27, 2012
Loading...

Share This Page